@Marco-de-Abreu the homeduino plugin decodes the messages. Not the arduino itself.
-
Homeduino not translating packets
-
Exactly, so the messages you see there are looking good
-
@sweebee said:
@Marco-de-Abreu the homeduino plugin decodes the messages. Not the arduino itself.
Thank you, but I think the problem is happening before the plugin has to get in action.
Yes the homeduino plugin may decode the messages, but the problem is that it does not receive them. I started investigating at the Arduino after the debug log in pimatic showed no incoming data.
The problem here is, that pimatic respecitvely the homeduino-plugin is only able to process packets, which have been verified by the Arduino and sent back as ‘RF receive X X X …’ (see https://github.com/pimatic/homeduinojs/blob/master/lib/board.js#L326). Each packet get transfered as ‘rfReceive’ and the pulses itself as ‘rf’ (see https://github.com/pimatic/homeduinojs/blob/master/lib/board.js#L348 and L352).
The pimatic-homeduino should receive these both events and print them to the debug log like the following code shows (https://github.com/pimatic/pimatic-homeduino/blob/master/homeduino.coffee#L30):@board.on("rfReceive", (event) => if @config.debug env.logger.debug 'received:', event.pulseLengths, event.pulses ) @board.on("rf", (event) => if @config.debug env.logger.debug "#{event.protocol}: ", event.values )
The culprit here is that the Arduino never records a valid packet in order to send it via ‘RF receive’ over to the plugin. The reason seems to be the verificaition and identification of a valid packet - the Arduino drops them.
I’m kind of lost because I’m not able to find the reason why it drops them. Do you have any other ideas?
-
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Any update on this issue?
-
Created an issue on git
https://github.com/pimatic/pimatic-homeduino/issues/60pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
The package must be repeated at least 3 time to be verified directly. Maybe this helps. What hardware does send the package?
-
The package has been sent by the following TFA-Temperature sensor:
http://www.amazon.de/TFA-Dostmann-Aussensender-Display-30-3120-90/dp/B000R9BCAG?ie=UTF8&psc=1&redirect=true&ref_=oh_aui_search_detailpage -
Any update? The issue has been closed…
-
You could try to run simulate (https://github.com/pimatic/RFControl/blob/master/simulate/simulate.cpp) with the given pulse sequence. The debug output should tell you why the pulse sequence is not decoded.
- Put in your pulse sequence into the simulate.cpp file.
- Compile: https://github.com/pimatic/RFControl/blob/master/simulate/build.sh
- Run
./simulate
.
Post the output here.