Search found 4 matches

by Lacman
Sunday 13 August 2023 21:10
Forum: Python
Topic: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor
Replies: 18
Views: 8558

Re: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor



Hey, thanks for that!
Getting somewhat further now.
Just like you I get the occasional "Failed to connect", but also " Bluetooth command failed (code: 1, error: Invalid handle)".
And when it is working, I don't see the "INFO The request is http:// 192 .168 .178 .23:8080/json .htm?type=command ...
by Lacman
Sunday 06 August 2023 17:22
Forum: Python
Topic: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor
Replies: 18
Views: 8558

Re: Python Script or plugin for Xiaomi Mi Temp and Humidity Sensor


Hey, thanks for that!
Getting somewhat further now.
Just like you I get the occasional "Failed to connect", but also " Bluetooth command failed (code: 1, error: Invalid handle)".
And when it is working, I don't see the "INFO The request is http:// 192 .168 .178 .23:8080/json .htm?type=command ...
by Lacman
Sunday 06 August 2023 0:16
Forum: Temperature and Weather
Topic: Xiaomi Mi Temperature and Humidity Monitor 2
Replies: 5
Views: 4372

Re: Xiaomi Mi Temperature and Humidity Monitor 2

Hi Attis92,

The python code seems to break for some reason, the log file stops showing anything after the password:
2023-08-06 00:07:59 INFO ***************************************
2023-08-06 00:07:59 INFO Start script...
2023-08-06 00:07:59 INFO Input parameters:
Domoticz Server IP: 127 .0 .0 .1 ...
by Lacman
Sunday 27 February 2022 20:14
Forum: Python
Topic: Handling HNAP - DLink DSP-W215 example
Replies: 59
Views: 18676

Re: Handling HNAP - DLink DSP-W215 example



Did you finish the script including kWh already? Would be so nice to have it!

All the best,
Ben



Would you mind sharing the kWh script?


Script: plugin.py.zip


Hello everyone,
I would like to chime in and just tell what works for me currently. Notes for whoever stumbles on this thread ...