fruggy83 / openocean

27 stars 11 forks source link

NODON SIN-2-2-01 not switching using USB-Dongle #82

Closed vio2000 closed 4 years ago

vio2000 commented 4 years ago

Hi @fruggy83, if I use the GPIO-Gateway, the SIN-2-2-01 works like a charm using the HabPanel or the PaperUI-Control. Unfortunately, I have to switch to the USB-Dongle. After switching to the new Dongle, the SIN-2-2-01 does not switch anymore. Using the physical switches, the SIN is communicating the state as it should be, but using the virtual switches (as with the GPIO-Gateway), it does not work anymore. I can't even see any changes in the logfiles. WHY?

2020-01-04 10:04:02.068 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - polling channels

2020-01-04 10:04:02.070 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Enqueue new send request with ESP3 type RADIO_ERP1 without callback

2020-01-04 10:04:02.072 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Sending data, type RADIO_ERP1, payload D20301FF9DAB81000105848EF3FF00

2020-01-04 10:04:02.086 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RESPONSE with code RET_OK payload 00 received

2020-01-04 10:04:02.088 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Enqueue new send request with ESP3 type RADIO_ERP1 without callback

2020-01-04 10:04:02.092 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D20301FF9DAB81800005848EF32A00 received

2020-01-04 10:04:02.338 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Sending data, type RADIO_ERP1, payload D20300FF9DAB81000105848EF3FF00

2020-01-04 10:04:02.358 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D20300FF9DAB81800005848EF32A00 received

2020-01-04 10:04:02.358 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RESPONSE with code RET_OK payload 00 received

2020-01-04 10:04:42.546 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - Initializing enocean base thing handler.

2020-01-04 10:04:42.549 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - initializeThing thing enocean:temperatureHumiditySensor:25002c11 bridge status ONLINE

2020-01-04 10:04:42.559 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Listener added: 92393587

2020-01-04 10:04:42.564 [me.event.ThingUpdatedEvent] - Thing 'enocean:temperatureHumiditySensor:25002c11' has been updated.

2020-01-04 10:05:09.228 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - Initializing enocean base thing handler.

2020-01-04 10:05:09.229 [DEBUG] [rnal.handler.EnOceanBaseThingHandler] - initializeThing thing enocean:rockerSwitch:7f378767:0037C6D8 bridge status ONLINE

2020-01-04 10:05:09.233 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Listener added: 3655384

2020-01-04 10:05:09.238 [me.event.ThingUpdatedEvent] - Thing 'enocean:rockerSwitch:7f378767:0037C6D8' has been updated.

2020-01-04 10:05:42.902 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Enqueue new send request with ESP3 type RADIO_ERP1 without callback

2020-01-04 10:05:42.903 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Sending data, type RADIO_ERP1, payload D2010101FF9DAB81000105848EF3FF00

2020-01-04 10:05:42.916 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RESPONSE with code RET_OK payload 00 received

2020-01-04 10:05:42.924 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D2010101FF9DAB81800005848EF32A00 received

2020-01-04 10:05:43.792 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Enqueue new send request with ESP3 type RADIO_ERP1 without callback

2020-01-04 10:05:43.796 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Sending data, type RADIO_ERP1, payload D2010001FF9DAB81000105848EF3FF00

2020-01-04 10:05:43.813 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RESPONSE with code RET_OK payload 00 received

2020-01-04 10:05:43.818 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D2010001FF9DAB81800005848EF32A00 received

2020-01-04 10:05:43.845 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D2010001FF9DAB81810005848EF35C00 received

2020-01-04 10:05:45.110 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Enqueue new send request with ESP3 type RADIO_ERP1 without callback

2020-01-04 10:05:45.111 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Sending data, type RADIO_ERP1, payload D2010000FF9DAB81000105848EF3FF00

2020-01-04 10:05:45.124 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RESPONSE with code RET_OK payload 00 received

2020-01-04 10:05:45.131 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D2010000FF9DAB81800005848EF32A00 received

2020-01-04 10:05:45.621 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Enqueue new send request with ESP3 type RADIO_ERP1 without callback

2020-01-04 10:05:45.623 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - Sending data, type RADIO_ERP1, payload D2010100FF9DAB81000105848EF3FF00

2020-01-04 10:05:45.636 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RESPONSE with code RET_OK payload 00 received

2020-01-04 10:05:45.645 [DEBUG] [ernal.transceiver.EnOceanTransceiver] - RADIO_ERP1 with RORG VLD for FF9DAB81 payload D2010100FF9DAB81800005848EF32A00 received

Thanks for your help

fruggy83 commented 4 years ago

Every EnOcean gateway has its own "unique" BaseId. This BaseId plus the SenderIdOffset build an EnOceanId which is used during teachin in (/pairing) between your Nodon and your gateway. Whenever you switch the gateway you have to do the teach in again with the new BaseId.

However if you want to avoid the teach in, you could just change the base id of your USB dongle to the one of your gpio gateway. This is the way I am doing it. All my gateways have the same BaseId. So I do not have any problems when switching from my dev to my productive system. Your gateway has a "hidden" (you find it under "Show more") channel through which you can change your BaseId. This can be done up to ten times. Remaining base id changes can be seen under properties.

Best regards Daniel

vio2000 commented 4 years ago

Thanks for this hint. It work's again. regards Markus

vio2000 commented 4 years ago

Hi Daniel, how do I change the enoceanID of my Gateway? NewID should be like „FF8A9B00“ Thanks in advance Yours Markus

Gesendet von Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 für Windows 10

Von: Daniel Webermailto:notifications@github.com Gesendet: Samstag, 4. Januar 2020 13:37 An: fruggy83/openoceanmailto:openocean@noreply.github.com Cc: vio2000mailto:markus@feigl-ing.de; Authormailto:author@noreply.github.com Betreff: Re: [fruggy83/openocean] NODON SIN-2-2-01 not switching using USB-Dongle (#82)

Every EnOcean gateway has its own "unique" BaseId. This BaseId plus the SenderIdOffset build an EnOceanId which is used during teachin in (/pairing) between your Nodon and your gateway. Whenever you switch the gateway you have to do the teach in again with the new BaseId.

However if you want to avoid the teach in, you could just change the base id of your USB dongle to the one of your gpio gateway. This is the way I am doing it. All my gateways have the same BaseId. So I do not have any problems when switching from my dev to my productive system. Your gateway has a "hidden" (you find it under "Show more") channel through which you can change your BaseId. This can be done up to ten times. Remaining base id changes can be seen under properties.

Best regards Daniel

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffruggy83%2Fopenocean%2Fissues%2F82%3Femail_source%3Dnotifications%26email_token%3DALMDPMHZWLNTNAN77SOSOX3Q4B7JFA5CNFSM4KCVEND2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICXEPY%23issuecomment-570782271&data=02%7C01%7C%7C6b66d906b7cb4eb0506d08d79112e6b7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637137382666125024&sdata=Fbp3cX50KTRgVrYdgUYy%2FPrjodA7uew%2FA21za4PBJmk%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALMDPMH2SALCPTRVOJCA2QTQ4B7JFANCNFSM4KCVENDQ&data=02%7C01%7C%7C6b66d906b7cb4eb0506d08d79112e6b7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637137382666135029&sdata=Zf7rdSd7h0YhbzEhn8lqX101Fhpuqa5peeYEMJyXO9w%3D&reserved=0.