souliss / bindingopenhab

Binding to connect your Souliss Network to openHAB
10 stars 6 forks source link

T12 bug #15

Closed fazioa closed 8 years ago

fazioa commented 8 years ago

FROM: https://groups.google.com/forum/#!topic/souliss/Aj9DHnGvuug

Item declared Switch KidsRoomMainlight "Kids Room Main Light" (gKidsRoom, TechnicView_Node0 {souliss="T12:4:11", autoupdate="false"}

Check sintax {souliss="T12:x:x:automode", autoupdate="false"} AND {souliss="T12:x:x:switch", autoupdate="false"}

LOG: 2016-01-12 15:29:09.642 [INFO ] [.o.b.s.internal.SoulissBinding] - receiveCommand - KidsRoomMainlight = ON - Typical: 0x12 2016-01-12 15:29:13.888 [DEBUG] [.s.i.n.t.SoulissGenericTypical] - Update State. Name: KidsRoomMainlight, Typ: 0x12, Node: 4, Slot: 11. New State$ 2016-01-12 15:29:13.889 [DEBUG] [.b.s.i.n.udp.UDPSoulissDecoder] - decodeStateRequest: KidsRoomMainlight (0x12) = 1.0 2016-01-12 15:29:13.955 [DEBUG] [.s.i.n.typicals.StateTraslator] - translate states: null_automode_0x12_0x00 -> null 2016-01-12 15:29:13.956 [DEBUG] [.s.i.n.typicals.StateTraslator] - translate states: null_0x12_0x00 -> null 2016-01-12 15:29:13.956 [DEBUG] [b.s.i.network.typicals.Monitor] - Put on Bus Events - KidsRoomMainlight = 1.0

Item declared: {souliss="T12:x:x:automode", autoupdate="false"} Check expected state: 2016-01-13 13:37:14.225 [INFO ] [.o.b.s.internal.SoulissBinding] - receiveCommand - KidsRoomMainlight = ON - Typical: 0x12 2016-01-13 13:37:14.226 [DEBUG] [.s.i.n.typicals.StateTraslator] - translate commands: automode_ON -> 0x08 2016-01-13 13:37:14.311 [DEBUG] [s.i.network.udp.SendDispatcher] - Compare. Node: 4 Slot: 11 Typical: 12 Command: 0x08 EXPECTED: null - IN MEMORY: 0x240 2016-01-13 13:37:14.312 [DEBUG] [s.i.network.udp.SendDispatcher] - T12 Node: 4 Slot: 11 - OK Expected State

fazioa commented 8 years ago

It appear working with this configuration (OH 1.7): ITEMS Switch SwitchAutoMode "T12" (GF_Soggiorno, TechnicView_Node2) {souliss="T12:2:0", autoupdate="false"} Switch SwitchAutoMode_setup "Auto" (GF_Soggiorno, TechnicView_Node2) {souliss="T12:2:0:automode", autoupdate="false"}

SITEMAP Switch item=SwitchAutoMode Switch item=SwitchAutoMode_setup

I going to do other test...

OH example: https://github.com/fazioa/Souliss_sketch/tree/master/fazioa/OH_Configuration/examples_T12

SKETCH example: https://github.com/fazioa/Souliss_sketch/tree/master/fazioa/LAB/Souliss_A7_CHIBI_T12