Re: RFXtrx
Posted: Wed Feb 11, 2015 1:42 pm
One funny thing, though: After the plugin is reset, it still has red text in the tree (Plugin:RFXtrx).
Code: Select all
15:00:01 Interface mode: ['0d', '01', '00', '01', '02', '53', '53', '04', '00', '06', '00', '00', '00', '00']
15:00:01 RFXtrx Firmware Version: 83
15:00:01 RFXtrx receiver/transceiver type: 433.92MHz transceiver
15:00:01 You have a RFXtrx Type 1
15:00:01 Interface mode: ['0d', '01', '00', '01', '02', '53', '53', '04', '00', '06', '00', '00', '00', '00']
15:00:01 RFXtrx Firmware Version: 83
15:00:01 RFXtrx receiver/transceiver type: 433.92MHz transceiver
15:00:01 You have a RFXtrx Type 1This is a behaviour of EG itself, after a while I think it goes away from red to blackOne funny thing, though: After the plugin is reset, it still has red text in the tree (Plugin:RFXtrx).
I think the problem is that I have a flag that is not correctly reset after the check has been performed, I will see how to improve. Maybe a restart of EG is needed for the momentThere may have been a print statement you have forgotten. Every minute I see this:
Code: Select all
09:21:10 Sensor: Stue Tidspunkt og dato: Kl. 09:21, den 14.02.
09:21:10
09:21:10 RFXtrx.Lost connection with the RFXtrx
09:21:10 Stopping and disconnecting the RFXtrx device...please wait
09:21:10 Date & Time thread ended
09:21:10 Keep Alive thread ended
09:21:11 Receiving thread is stopped...
09:21:11 Cleaning up monitoring tasks...
09:21:12 Plugin successfully stopped
09:21:14 Interface mode: ['0d', '01', '00', '01', '02', '53', '53', '04', '00', '06', '00', '00', '00', '00']
09:21:14 RFXtrx Firmware Version: 83
09:21:14 RFXtrx receiver/transceiver type: 433.92MHz transceiver
09:21:14 You have a RFXtrx Type 1
09:21:14 Copyright RFXCOM. A genuine RFXtrx is detected and started
09:21:22 RFXtrx.Type: Viking 02811 id: 43008 ' temperature: +22.6 deg C signal: 5 battery: 9'
09:21:22 WC.: Temperatur: 22.6, termostatmodus: 1, termostattemperatur: 22, tidspunkt: Kl. 09:21, den 14.02.
09:21:22
09:21:22 Sensor: WC Tidspunkt og dato: Kl. 09:21, den 14.02.
09:21:22 I'm not so convinced, I think it looks ok to me. There was obviously a problem detected since the restart happened. The code in the plugin is trying to 'talk' to the RFXtrx every minute and is expecting a correct answer. If this is not happening, the event is triggered. The question is if there is any harm with the current implementation, I do not retry if the first answer is incorrect. Did you already implement a counter in your script?Doesn't seem right to me