-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sendToDomoticz.py errors #81
Comments
Hi siklosi, arg number depends on how you call the script. Take a look there #59 (comment)
My sensors reportet at maximum 3,34V and lowest voltage reported so far was 0.44 V. This low voltage was probably measured while trasmitting data. |
Hi, Here's my issue and I think I'm almost there: To make sure it is not somehow a domoticz bug I just send the same command that gets build in the sendToDomoticz.py script manually, which works fine: "DOMOTICZIP/json.htm?type=command¶m=udevice&idx=74&nvalue=0&svalue=18;30;&battery=100" Someone knows what might be going on here? I'm sooo close to get this sensor working and plan on placing more :) EDIT: The humidity shown in Domoticz is correct btw |
Okay, after fiddling around a bit more I found the error. Maybe it's interesting for the next update: |
Hi,
I get this error probably after updating the LYWSD03MMC.py script two days ago: File "/home/pi/domoticz/scripts/python/MiTemperature2/LYWSD03MMC.py", line 666 |
Hi mywildsoul, thanks for reporting this. There was a missing colon from this pull request 112 |
Thanks a lot! |
Hi,
there are few errors in sendToDomoticz.py
first of all
val_bat = sys.argv[6]
sys.argv[6] is actualy timestamp and sys.argv[5] is voltage.
Also domoticz accepts percentage (0-100) for battery
I modified this file for my self like this:
I'm assuming that max is 3.3 (I just bought 9 of this sensors and some are reporting 3.23) and for low I set it at 1.8 but I really don't know what is lowest voltage on which this sensors work.
The text was updated successfully, but these errors were encountered: