OpenWebNet developing..?
Moderator: leecollings
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
OpenWebNet developing..?
Hi,
i have a Bticino system installed in my house.
I believe that integrating most of the functionality of the OpenWebNet would be very useful.
I do not understand why now it has only been developed for the management of blinds.
Someone is working to implement features on lights / switches, temperature sensors and status of the alarm system?
If someone is doing it, I could help test the various features, but also to develop......
ps. sorry for my bad english Q_Q
i have a Bticino system installed in my house.
I believe that integrating most of the functionality of the OpenWebNet would be very useful.
I do not understand why now it has only been developed for the management of blinds.
Someone is working to implement features on lights / switches, temperature sensors and status of the alarm system?
If someone is doing it, I could help test the various features, but also to develop......
ps. sorry for my bad english Q_Q
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: OpenWebNet developing..?
Please have a look at our github page, click on the OpenWebNet file, and via the history button you know who developed this
Since this is an opensource project, i would say, please start developing and debugging
Could you also change the function names to english ? Else i will be forced to remove hardware support for this very soon
If possible also correct the comments, looks like it is google translated
Since this is an opensource project, i would say, please start developing and debugging
Could you also change the function names to english ? Else i will be forced to remove hardware support for this very soon
If possible also correct the comments, looks like it is google translated
Quality outlives Quantity!
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
I already translated the functions names and I implemented the lights/switches management.
Please do not remove the hardware support, this is very useful to me
Please do not remove the hardware support, this is very useful to me
-
- Posts: 2
- Joined: Sunday 06 November 2016 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
I also have a Btcino system, If you need a help for test or develop.
I have no knowledge of c++ but I'm a programmer.
we can get some idea from Grasshopper project
I have no knowledge of c++ but I'm a programmer.
we can get some idea from Grasshopper project
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
Any help is good. I sent you a private message.
-
- Posts: 2
- Joined: Sunday 06 November 2016 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
I could not send private message.
I have downloaded last version with our modification
I you give me you email in private message we could comunicate throught email.
I have downloaded last version with our modification
I you give me you email in private message we could comunicate throught email.
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
I sent you my email. I wait for your contact ..
-
- Posts: 8
- Joined: Monday 14 November 2016 18:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
Hi guys, I just found your topic. Many thanks for taking the time to develop the OpenWebNet functionality.
How is the development going?
Perhaps this could help you get some inspiration:
https://github.com/openhab/openhab/tree ... ng.bticino
How is the development going?
Perhaps this could help you get some inspiration:
https://github.com/openhab/openhab/tree ... ng.bticino
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
Thanks, I will check it.
Lights and blinds already work.
Right now I'm working to add the temperature sensors.
Lights and blinds already work.
Right now I'm working to add the temperature sensors.
-
- Posts: 8
- Joined: Monday 14 November 2016 18:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
How is it going? Is it already possible to use the lights in the current release or beta version?
Currently Domoticz crashes when I setup OpenWebnet.
Currently Domoticz crashes when I setup OpenWebnet.
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: OpenWebNet developing..?
What are the options with Openwebnet in Domoticz?
What hardware do i need?
What hardware do i need?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
@Siem
I just made a pull-request that includes:
- Scanning of shutters, lights and temperature sensors (on the hardware start)
- Automatic addition of discovered devices
- Shutters with 3 control buttons (open, stop, close)
- Other bug fixes
Now manually add a device may not work correctly
I hope that these changes will soon be included in Beta version
I just made a pull-request that includes:
- Scanning of shutters, lights and temperature sensors (on the hardware start)
- Automatic addition of discovered devices
- Shutters with 3 control buttons (open, stop, close)
- Other bug fixes
Now manually add a device may not work correctly
I hope that these changes will soon be included in Beta version
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
@Derik
You must have an official bticino gateway (example F454 web server) with the correct IP range set to accept openwebnet connections.
Some devices like MH202 or LN4890 may still be usable for this type of connection.
You must have an official bticino gateway (example F454 web server) with the correct IP range set to accept openwebnet connections.
Some devices like MH202 or LN4890 may still be usable for this type of connection.
-
- Posts: 8
- Joined: Monday 14 November 2016 18:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
Great news!spugna85 wrote:@Siem
I just made a pull-request that includes:
- Scanning of shutters, lights and temperature sensors (on the hardware start)
- Automatic addition of discovered devices
- Shutters with 3 control buttons (open, stop, close)
- Other bug fixes
Now manually add a device may not work correctly
I hope that these changes will soon be included in Beta version
-
- Posts: 8
- Joined: Monday 14 November 2016 18:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
Hi Spugna,
Tonight I installed the latest beta of Domoticz (version 3.6132 - 2016-12-12).
I enabled "Myhome OpenWebNet" (Data Timeout: Disabled).
Unfortunately Domoticz crashes as soon as it receives a message from the MH200N:
*#13**22*20*43*31*001*01*12*12*2016##
The MH200N sends these kind of messages every 30 seconds:
*#13**22*20*44*01*001*01*12*12*2016##
*#13**22*20*44*31*001*01*12*12*2016##
This is what I see, when Domoticz crashes:
2016-12-12 20:14:13.005 COpenWebNet: connected to: 10.0.0.10:20000
2016-12-12 20:14:13.005 EventSystem: Started
2016-12-12 20:14:13.008 Error: COpenWebNet: Who=(null) not yet supported!
2016-12-12 20:14:13.008 COpenWebNet: received=*#*1## : ACK FRAME
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::at: __n (which is 0) >= this->size() (which is 0)
Aborted
Could it be a bug, or is your code not in this beta yet?
Many thanks,
Siem
Tonight I installed the latest beta of Domoticz (version 3.6132 - 2016-12-12).
I enabled "Myhome OpenWebNet" (Data Timeout: Disabled).
Unfortunately Domoticz crashes as soon as it receives a message from the MH200N:
*#13**22*20*43*31*001*01*12*12*2016##
The MH200N sends these kind of messages every 30 seconds:
*#13**22*20*44*01*001*01*12*12*2016##
*#13**22*20*44*31*001*01*12*12*2016##
This is what I see, when Domoticz crashes:
2016-12-12 20:14:13.005 COpenWebNet: connected to: 10.0.0.10:20000
2016-12-12 20:14:13.005 EventSystem: Started
2016-12-12 20:14:13.008 Error: COpenWebNet: Who=(null) not yet supported!
2016-12-12 20:14:13.008 COpenWebNet: received=*#*1## : ACK FRAME
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::at: __n (which is 0) >= this->size() (which is 0)
Aborted
Could it be a bug, or is your code not in this beta yet?
Many thanks,
Siem
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
Hi Siem!
I confirm to you that the code is not in the beta version. I'm waiting the merge.
However, the problem that you have could not be resolved.
I have always used the F454. I have also MH202, i will try this to see if i have a problem like yours.
I confirm to you that the code is not in the beta version. I'm waiting the merge.
However, the problem that you have could not be resolved.
I have always used the F454. I have also MH202, i will try this to see if i have a problem like yours.
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
I try with my MH202 and i get this:
2016-12-12 23:55:00.000 COpenWebNet: connected to: 192.168.0.98:20000
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
But this is so because is not a official gateway.
You can connect domoticz correctly with MH200N? perhaps because is a old gataway and not required the new authentication.
I don't known if I can debug this...
I think that MH200N messages with who=WHO_GATEWAY_INTERFACES_MANAGEMENT (13), are not managed correctly.
EDIT:
I was able to replicate the problem by a time request to the gateway and the system crashed.
I added the fix for this bug to the pull-request.
2016-12-12 23:55:00.000 COpenWebNet: connected to: 192.168.0.98:20000
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
But this is so because is not a official gateway.
You can connect domoticz correctly with MH200N? perhaps because is a old gataway and not required the new authentication.
I don't known if I can debug this...
I think that MH200N messages with who=WHO_GATEWAY_INTERFACES_MANAGEMENT (13), are not managed correctly.
EDIT:
I was able to replicate the problem by a time request to the gateway and the system crashed.
I added the fix for this bug to the pull-request.
-
- Posts: 87
- Joined: Tuesday 29 March 2016 16:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Italia
- Contact:
Re: OpenWebNet developing..?
Hi Siem,
I wanted to tell you that the beta version 3.6136 includes all the latest changes in OpenWebNet. I hope you can test everything as soon as possible, I wait for your feedback.
I warn you that when you stop the hardware openwebnet sometimes the system crashes.
I will have to correct this problem when I have have some time.
I wanted to tell you that the beta version 3.6136 includes all the latest changes in OpenWebNet. I hope you can test everything as soon as possible, I wait for your feedback.
I warn you that when you stop the hardware openwebnet sometimes the system crashes.
I will have to correct this problem when I have have some time.
-
- Posts: 8
- Joined: Monday 14 November 2016 18:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
It works now
I am going to give it a thorough test tomorrow.
I am going to give it a thorough test tomorrow.
-
- Posts: 8
- Joined: Monday 14 November 2016 18:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: OpenWebNet developing..?
Siem wrote:It works now
I am going to give it a thorough test tomorrow.
I tested in Domoticz 3.6147:
Switches work!
Dimming not, I can only switch dimmers on or off. Sliding doesn't work. If I slide a dimmer that has been switched on, the light will turn off instead of dimming to a certain level.
Do you have dimming already implemented in 3.6147? if so I can look into the OpenWebNet messages to see what is going on there and compare it to working dimmer messages.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest