Hi, I’m new in the forum and also in Home assistant.
I try to create a new platform for My Home bTicino .
I’m not a great programmer and I’m new on Python, but following the Development info on the documentation of home assistant I’m able to turn on and off the light and to read the temperature from bus, but only if I write the Class that read/write the bus directly in the python module where i setup the PLATFORM (my_home.py)
I try to create a Class to read the bus, but I don’t understand how to IMPORT in the my_home.py file I write.
I insert in the DEPENDENCIES the file name I upload in Pypi, but
every time I get an error import OpenWebNet ModuleNotFoundError: No module named 'OpenWebNet’
Someone can give me some help or indication about documentation where to found the step to follow in order to solve the problems.
Hello Clau67,
I’m interested too, can you share your development?
Were you also able to monitor the gateway so that switch status is updated also when light is switched on/off from the wallmount?
Hi Clau67,
I am also interested can you share your progress with us?
I am new to the word of Home Assistant and any help will be very appreciated.
I do have Bticino My home cabled system in my house and I want to get the best out of it.
Are you having the same configuration?
Ciao
Hi,
I upload here the actual state for this platform
The platform is able to monitor the light status also if you use wall switch, and can also monitor the thermal unit and probe of the system.
There is a delay caused of the update of the system, but it can be reduced if you
add:
_emphasized text_scan_interval: number of sec for update
Hi Caiosweet,
it seems like if the platform is not present, so check all this and try again:
There are 3 files on GitHub, the firs one is on the root my_home.py and is for create the platform, this must be copied under custom_components
Then you have to create (us have you done) the two directory Light and Sensor and copy in it the other two file you find under the matching directory
The configuration.yaml seem correct , if you respect the indentation, but change address to indirizzo ,sorry but I haven’t translate for the moment all file in English
Let me know
thank you
I’m Italian too, sorry, I’ve also translated “indirizzo”
I think the problem is “Hassio”, and the installation of openwebnet.
I do not know how to install openwebnet, I think I need an addon or the right command to install it on hassio
Thanks anyway.
PS after the hassio upgrade to 68 openwebnet has disappeared and I have reinstalled it like this:
➜ / pip3 install OpenWebNet==1.0.1 --no-cache
Collecting OpenWebNet==1.0.1
Downloading https://files.pythonhosted.org/packages/86/b4/8e33fda92bd51c5e2bc0d7fc7df10f4a31ddf0e1227b30b6d7944b5d477d/OpenWebNet-1.0.1.tar.gz
Installing collected packages: OpenWebNet
Running setup.py install for OpenWebNet ... done
Successfully installed OpenWebNet-1.0.1
➜ / pip3 freeze
awake==1.0
OpenWebNet==1.0.1
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Hi Caiosweet,
I thin you are right, could be “Hassio” the problem.
I’m using on Hassbian and I don’t have this problems:
I have some other problems but maybe I solved them today.
I’m doing some test.
Then if all ok, I’ll update all file.
hi guys,
I have painstakingly reverse engineered the official software, and am able to list all devices in the system and their configuration (working on programming)
see http://github.com/sxpert/myhomepy
I do not know how, but I managed to make it work, the only problem is that it is slow, because it does not recognize the password … and it goes several attempts before it works (use MH200N)
Hi caiosweet,
the password recognition, it’s only one time when HA is starting, then if there aren’t problem on the net the password recognition is no longer used.
If I remember correctly with MH200N you can set a numbers of IP address that are able to connect with the gateway without the password.
Have you insert the IP address of your pc where Home Assistant is running on ?
I develop the OpenWebNet class in order to connect with my HL4684 that is not able to do this, so I need in any case to recognize the password.
This happen when the platform is setup.
If your system don’t ask for this could be that OpenWebNet class ask for something but your MH200N answer something other.
I used the new platform on an Hassbian and on a MacOS, and on both function.
But I don’t have HASSIO, for test it.
Could you send me the log file, so I check if there is some info or error that can give me some indication about the problems
Please check it before to send, be sure you don’t give any personal info.