3agv2004 / domoticaOS

Automatically exported from code.google.com/p/souliss
0 stars 0 forks source link

GW don't collect information about nodes/slots/typicals in dynamic mode #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The gateway doesn't know the typicals on the other nodes and generally doesn't 
need it. Once SoulissApp request to the gateway the list of typicals, then it 
starts to collect data from other nodes and save those only if the persistance 
mode is active.

When you init the openHAB interface it emulate a request from SoulissApp to 
force the other layers to collect the information in advance.

This happen at setup() time, but if you have no RemoteNodes specified it will 
have nothing to detect, so that init will produce no result.

To avoid this, we need a way to trigger that every time that a node is added. 
Now you are adding nodes dynamically.

Developers forum link: 
https://groups.google.com/d/msg/souliss/5rJO4F9N210/Jw_TnOBwDNkJ

Original issue reported on code.google.com by fulvio.s...@gmail.com on 3 Aug 2014 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by fulvio.s...@gmail.com on 3 Aug 2014 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by fulvio.s...@gmail.com on 3 Aug 2014 at 7:57

GoogleCodeExporter commented 9 years ago
Done in commit  6cb3bc772409

Original comment by dario.di...@souliss.net on 15 Aug 2014 at 11:14