В этом разделе вы можете проголосовать за идеи по открытым проектам. Вы всегда можете предложить свою идею, перейдя на страницу проекта.
<<< Назадhttps://github.com/nick7zmail/MajorDoMo-dev_broadl...
Hi,
I have purchased this device:
https://www.bgelectrical.uk/smart-sockets
After a bit of digging, I found out that they use a broadlink chip:
https://community.home-assistant.io/t/uk-wifi-smar...
I only found your repo after trying these things below with the python-broadlink library
So I tried connecting to broadlink-mqtt
Kind of works:
$ pi@piup:~/broadlink-mqtt $ python mqtt.py
[2019-10-09 10:27:40,822] DEBUG Connected to 'Unknown' Broadlink device at '192.168.0.99' (MAC c8:f7:42:fc:e5:45) and started listening for commands at MQTT topic having prefix 'broadlink/'
[2019-10-09 10:27:40,834] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#
It connects, so there must be a way.
I have a spare device that I can send by post
I can also send debug logs or whatever is needed
also:
import broadlink
print hex(broadlink.discover(timeout=10)[0].devtype)
0x51e3
How do I find out what commands it takes?
It could be compatible with an MP1 device but only 2 sockets
It is not. Defining the device as an MP1 type does not work
Your repo has many more devices than the python-broadlink library has.
Are there any simililar devices where this device could be compatible with in your repo?
Thanks for your help
Thanks