Comments (8)
Didn't have time for tasmoticz lately, but the message looks like it should be picked up and create devices for it in domoticz.
Do you have a log from the time you added the device?
from tasmoticz.
I am currently recovering manually on IDX 1047 from domoticz (solar radiation) the value transmitted by tasmota = Sensor idx 5 Illuminance which corresponds to VEML6070 UV Level.
However, I do not have the info for VEML6070 UV Index and VEML6070 UV POWER.
2021-05-05 11:23:41.870 Python Plugin System: (Tasmoticz) Handler::onMQTTPublish: topic: tele/Garage3/STATE
2021-05-05 11:23:41.871 Python Plugin System: (Tasmoticz) Handler::onMQTTPublish: device: Garage3, cmnd: cmnd/Garage3, tail: STATE, message: {'Time': '2021-05-05T11:23:41', 'Uptime': '0T06:20:13', 'UptimeSec': 22813, 'Heap': 211, 'SleepMode': 'Dynamic', 'Sleep': 50, 'LoadAvg': 19, 'MqttCount': 1, 'POWER1': 'OFF', 'POWER2': 'OFF', 'POWER3': 'OFF', 'POWER4': 'OFF', 'Wifi': {'AP': 1, 'SSId': 'Lolo', 'BSSId': '00:11:32:B6:13:BE', 'Channel': 9, 'RSSI': 52, 'Signal': -74, 'LinkCount': 1, 'Downtime': '0T00:00:07'}}
2021-05-05 11:23:41.871 Python Plugin System: (Tasmoticz) tasmota::findDevices: fullName: Garage3, Idxs [1, 2, 3, 28, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40]
2021-05-05 11:23:42.279 MQTT: Topic: domoticz/in, Message: {"idx":1038,"nvalue":0,"svalue":"207;141771.0","Battery":100,"RSSI":5}
2021-05-05 11:23:42.291 Python Plugin System: (Tasmoticz) Handler::onMQTTPublish: topic: tele/Garage3/SENSOR
2021-05-05 11:23:42.292 Python Plugin System: (Tasmoticz) Handler::onMQTTPublish: device: Garage3, cmnd: cmnd/Garage3, tail: SENSOR, message: {'Time': '2021-05-05T11:23:41', 'ENERGY': {'TotalStartTime': '2021-05-05T00:00:00', 'Total': 141.771, 'Yesterday': 130.159, 'Today': 138.02, 'Period': 5, 'Power': 207, 'ApparentPower': 387, 'ReactivePower': 327, 'Factor': 0.54, 'Frequency': 50, 'Voltage': 232, 'Current': 1.664}, 'VEML6070': {'UvLevel': 4098, 'UvIndex': 5.49, 'UvIndexText': 'Mid', 'UvPower': 0.137}, 'ESP32': {'Temperature': 22.2}, 'TempUnit': 'C'}
2021-05-05 11:23:42.292 Python Plugin System: (Tasmoticz) tasmota::findDevices: fullName: Garage3, Idxs [1, 2, 3, 28, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40]
2021-05-05 11:23:42.293 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:32, Attr: ENERGY-Total, nValue: 0, sValue: 141.771
2021-05-05 11:23:42.321 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:34, Attr: ENERGY-Today, nValue: 0, sValue: 138.02
2021-05-05 11:23:42.349 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:1, Attr: ENERGY-Power, nValue: 0, sValue: 207
2021-05-05 11:23:42.361 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:2, Attr: ENERGY-ApparentPower, nValue: 0, sValue: 387
2021-05-05 11:23:42.391 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:37, Attr: ENERGY-ReactivePower, nValue: 0, sValue: 327
2021-05-05 11:23:42.409 MQTT: Topic: domoticz/in, Message: {"idx":1047,"nvalue":0,"svalue":"4098","Battery":100,"RSSI":5}
2021-05-05 11:23:42.434 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:38, Attr: ENERGY-Factor, nValue: 0, sValue: 0.54
2021-05-05 11:23:42.457 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:39, Attr: ENERGY-Voltage, nValue: 0, sValue: 232
2021-05-05 11:23:42.481 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:40, Attr: ENERGY-Current, nValue: 0, sValue: 1.664
2021-05-05 11:23:42.505 Python Plugin System: (Tasmoticz) tasmota::updateValue: Idx:3, Attr: ESP32-Temperature, nValue: 0, sValue: 22.2
from tasmoticz.
I created branch veml6070 and added the sensor in tasmota.py. You can try exchanging https://github.com/joba-1/Tasmoticz/raw/veml6070/tasmota.py
from tasmoticz.
Do you know the proper units for Index and level?
from tasmoticz.
Thank you for the prompt response
In my opinion,
Index = UVI
level is not important and I do not know the unit of measurement.
We must take into account the W / m2 and the UV index (UVI) for Domoticz
from tasmoticz.
ok, changed the units. Let me know if it works and I'll transfer it to the master branch.
from tasmoticz.
Super it works
Thank you so much
from tasmoticz.
great. merged in master.
from tasmoticz.
Related Issues (20)
- 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
- Athom Tasmota RGB(WW) LED Strip Controller HOT 2
- Can I make a DevkitV1 esp32 working with tasmoticz HOT 4
- typeDb contains keys in different languages HOT 2
- Switches/buttons not detected HOT 1
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.