Comments (7)
any updates on this one yet
from tasmoticz.
happy to assist with logs on this one if it will help... i have a heap of TUYA devices flashed with tasmota, that the new firmware doesnt work like the old one (no domoticz section) so would be happy to provide any and all details requested
from tasmoticz.
I dont have dimmers, so what I need is mqtt messages during start of dimmer, some normal tele messages and ideally mqtt messages to and from domoticz while operated from domoticz (switch on, off, set dimmer level).
from tasmoticz.
Is the below any use? This shows a dimmer switch being turned on, the dim changed, then turned off, all from within Domoticz. This was with SetOption19 1 though, so it may not help you?
`
23:04:29 MQT: bathroom_light/stat/RESULT = {"POWER":"ON"}
23:04:29 MQT: bathroom_light/stat/POWER = ON (retained)
23:04:42 MQT: bathroom_light/tele/STATE = {"Time":"2021-01-19T23:04:42","Uptime":"0T00:07:15","UptimeSec":435,"Heap":22,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":57,"MqttCount":1,"POWER":"ON","Dimmer":45,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"barkernet","BSSId":"78:65:59:8D:C2:7C","Channel":1,"RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:09"}}
23:04:42 MQT: bathroom_light/stat/RESULT = {"POWER":"ON","Dimmer":45}
23:04:42 Script: performs "SerialSend5 FF556305DC0A"
23:04:42 MQT: bathroom_light/stat/RESULT = {"SerialSend":"Done"}
23:04:42 Script: performs "Dimmer 45.00"
23:04:42 MQT: bathroom_light/tele/STATE = {"Time":"2021-01-19T23:04:42","Uptime":"0T00:07:15","UptimeSec":435,"Heap":20,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":57,"MqttCount":1,"POWER":"ON","Dimmer":45,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"barkernet","BSSId":"78:65:59:8D:C2:7C","Channel":1,"RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:09"}}
23:04:42 MQT: bathroom_light/stat/RESULT = {"POWER":"ON","Dimmer":45}
23:04:45 MQT: bathroom_light/tele/STATE = {"Time":"2021-01-19T23:04:45","Uptime":"0T00:07:18","UptimeSec":438,"Heap":22,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":72,"MqttCount":1,"POWER":"ON","Dimmer":81,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"barkernet","BSSId":"78:65:59:8D:C2:7C","Channel":1,"RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:09"}}
23:04:45 MQT: bathroom_light/stat/RESULT = {"POWER":"ON","Dimmer":81}
23:04:45 Script: performs "SerialSend5 FF55b205DC0A"
23:04:45 MQT: bathroom_light/stat/RESULT = {"SerialSend":"Done"}
23:04:45 Script: performs "Dimmer 81.00"
23:04:45 MQT: bathroom_light/tele/STATE = {"Time":"2021-01-19T23:04:45","Uptime":"0T00:07:18","UptimeSec":438,"Heap":20,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":72,"MqttCount":1,"POWER":"ON","Dimmer":81,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"barkernet","BSSId":"78:65:59:8D:C2:7C","Channel":1,"RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:09"}}
23:04:45 MQT: bathroom_light/stat/RESULT = {"POWER":"ON","Dimmer":81}
23:04:48 var not found: Dimmer
23:04:48 Script: performs "SerialSend5 FF550005DC0A"
23:04:48 MQT: bathroom_light/stat/RESULT = {"SerialSend":"Done"}
23:04:48 Script: performs "Dimmer 0.00"
23:04:48 MQT: bathroom_light/tele/STATE = {"Time":"2021-01-19T23:04:48","Uptime":"0T00:07:21","UptimeSec":441,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":87,"MqttCount":1,"POWER":"OFF","Dimmer":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"barkernet","BSSId":"78:65:59:8D:C2:7C","Channel":1,"RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:09"}}
23:04:48 MQT: bathroom_light/stat/RESULT = {"POWER":"OFF","Dimmer":0}
23:04:48 MQT: bathroom_light/tele/STATE = {"Time":"2021-01-19T23:04:48","Uptime":"0T00:07:21","UptimeSec":441,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":87,"MqttCount":1,"POWER":"OFF","Dimmer":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"barkernet","BSSId":"78:65:59:8D:C2:7C","Channel":1,"RSSI":88,"Signal":-56,"LinkCount":1,"Downtime":"0T00:00:09"}}
23:04:48 MQT: bathroom_light/stat/RESULT = {"POWER":"OFF"}
23:04:48 MQT: bathroom_light/stat/POWER = OFF (retained)
`
from tasmoticz.
Im happy to provide whatever debug/logs are needed as I have a number of different dimmer and colour dimmer lights.
eg "simple" dimmer:
mosquitto_pub -d -h 127.0.0.1 -p 1883 -t 'tam6_FrontDoor/cmnd/Dimmer' -m '10'
tam6_FrontDoor/stat/RESULT = {"POWER":"ON","Dimmer":10}
mosquitto_pub -d -h 127.0.0.1 -p 1883 -t 'tam6_FrontDoor/cmnd/POWER' -m 'ON'
tam6_FrontDoor/stat/RESULT = {"POWER":"ON"}
adding the domoticz IDX (333) to the tasmota device "IDX1" field and changing settings using the tasmota webgui controls:
mosquitto_sub -v -d -h 127.0.0.1 -p 1883 -t 'domoticz/in/#'|grep 333
power toggle was ON, and I dragged the slider up to 10%
domoticz/in {"idx":333,"nvalue":1,"svalue":"10","Battery":100,"RSSI":4}
power toggle was OFF, and I dragged the slider up to 10%
domoticz/in {"idx":333,"nvalue":0,"svalue":"10","Battery":100,"RSSI":4}
power toggle was ON, and I dragged the slider up to 21%
domoticz/in {"idx":333,"nvalue":1,"svalue":"21","Battery":100,"RSSI":4}
power toggle was OFF, and I changed toggle to ON
domoticz/in {"idx":333,"nvalue":1,"svalue":"21","Battery":100,"RSSI":4}
power toggle was ON, and I changed toggle to OFF
domoticz/in {"idx":333,"nvalue":0,"svalue":"21","Battery":100,"RSSI":4}
Please let me know whatever specific logs you require to move this forward.
kind regards
from tasmoticz.
Typical teleperiod string:
tam6_FrontDoor/tele/STATE {"Time":"2022-08-19T00:34:15","Uptime":"0T00:14:41","UptimeSec":881,"Heap":26,"SleepMode":"Dyna mic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":9,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1, "SSId":"Bman_net","BSSId":"78:45:58:83:74:77","Channel":3,"Mode":"11n","RSSI":44,"Signal":-78,"LinkCount":1,"Downtime":"0 T00:00:05"}}
from tasmoticz.
Domoticz does no longer sends dimmer data for any devices set as "Dimmer" but the general format of all device status updates is:
domoticz/out/6tamala/Kitchen { "Battery" : 255, "LastUpdate" : "2022-08-19 00:37:56", "RSSI" : 12, "description" : "Controlicz: Coffee Machine\nTypeControl: Switch", "dtype" : "Light/Switch", "hwid" : "3", "id" : "00014181", "idx" : 305, "name" : "Isomac", "nvalue" : 1, "stype" : "Switch", "svalue1" : "0", "switchType" : "On/Off", "unit" : 1 }
I assume that stype would need to match whatever a dimmer is, and nvalue is power on/off (1/0) svalue1 = 0-100 (as a percentage)
from tasmoticz.
Related Issues (20)
- Devices not added
- Capteur UV VEML6070 non reconnu HOT 8
- Domoticz beta (build 13251) randomly crashes on switches tab HOT 7
- errors on new version of tasmota HOT 10
- Device naming in German? HOT 8
- Cant switch on/off a offline device HOT 2
- Athom device incorrectly handled HOT 1
- Better handling of humidity sensors HOT 7
- Domoticz Switch State not updated after switching HOT 8
- Error: Tazmoticz: AttributeError: type object 'Collection' has no attribute 'Mapping' with Python 3.10.4 HOT 5
- Deletion of some devices when used with a damaged Domoticz installation HOT 8
- Support for Tasmota 12.1 and Tasmota Discovery / hatasmota HOT 5
- Error message every 12hrs but everything works HOT 7
- Pb Maj Domoticz 2022.2/2023.1 HOT 14
- More than 255 devices error -> filtering ? HOT 10
- Create device for LWT messages. HOT 4
- Incorrect electricity data being sent to Domoticz. HOT 2
- I am asking for two separate blocks in domoticz HOT 23
- Another malfunction related to the energy indicator. HOT 3
- Tasmota 13.0.0 and PZEM 004 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tasmoticz.