The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Help needed on a first nRF905 app
I am trying to develop a homey-app that will be able to communicate with an arduino.
As a base I
stripped down an example program until I kept one action for this app: changing
the led-colors. I could install and run this from within the flow editor.
Btw: My tools are notepad++, node, npm and git.
As the next step, I wanted to add the nRF905 functionality and followed the text in https://github.com/athombv/node-homey-arduinodriver
First I got runtime errors like “cannot find module ‘homey-arduinodriver’”. I copied the homey-arduinodriver from the node_modules directory (which is outside my project directory), into my project directory. Maybe this is my first mistake (because why should one bring a global library into a specific project?), but hereafter this error didn’t occur anymore.
But now a new error arises:Error: invalid_signal_id:nRF905
at new Signal (/homey-app/various/rf.js:44:12)
at new ArduinoRadio (/homey-arduinodriver/lib/arduino_radio.js:29:21) ....
Any suggestions?
Comments
Also you should install lib using npm install. Re-read readme.
Thank you!
I have some helper program for my Arduino's that I used for analyzing RF 433 remote signals (to let Arduino copy those signals). As a receiver the simple SR309H is used.
I am perfectly able to 'see' kiku/coco signals transmitted from Homey (and other 433 MHz signals floating around this household), but I do not see any signals generated by my first Homey app.
It might well be that I miss the Homey signal with the SR309H for some reason: an other frequency used by Homey than I expect, a pulse width outside my expectations, etc.
But, I am not convinced my Homey app really transmits anything...
ACK or other data from arduino to homey is not working yet.
Lowering of the carrier frequency with 14 kHz didn't help me. Nor with the nRF905, nor with the SR309H.
And next to that, I don't believe my simple SR309H is that sensitive for the exact carrier frequency. I think I still have my same issue to resolve.
To be continued in the next episode.
I got: Invalid JSON in app.json [SyntaxError: Unexpected string]
just added signals to it...
After long searching I found it had to be UTF-8 (without BOM).