I would like to send data to it over NodeRed. Has anyone already done anything in this direction or would have an approach?
Why NodeRed:
I want to connect several sensors (temp and other states) to this Raspberry Pi using Zigbee and then correlate and send them via Node Red.
for other suggestions I am always interested in
I would also like to have some reading material to study. Found only few informations so farâŚ
the phrases to search for: RAK811 AT commands, node-red-node-serialport
In the description of the pHAT itâs stated the RAK811 is connected to RPi via TTL/Serial
What you need to figure out is:
how to control RAK811 with serial console
how to implement the basic operations (init, send, recv) in Node-Red. The node to handle serial port is called ânode-red-node-serialportâ
And donât forget to attach antenna before you start to experiment!!!
This is a very well solved solution so you shouldnât have concerns about it working - you just need to do the searches recommended above to gather the information.
Much like the original post in this thread, thatâs not really a meaningful question.
We should start with the fact that TTN is really for reporting small amounts of information, not for âcontrollingâ things.
If someone has such a reporting need compatible with the severe data rate / day and unreliability constraints of TTN, and has a node which fully and correctly implements LoRaWan via a sound and correct LoRaWan stack, there are options.
But queries lacking specifics of a fitting need are meaningless.
FWIW while there are exceptions generally speaking LoRaWan is not a fit for tasks where the node could/would include a pi.
I have several Zigbee sensors which all feed the data to a Raspberry Pi. I would like to transmit the average value and or alarms when a value is too high via Lora.
The calculation and many more conditions I calculate everything in Node Red.
Also I would like to control a fan via a relay on this Raspberry, mostly it does this by itself (regarding the values from above) but it would be nice to be able to control it manually.
I am not really interested in active control and I think that this is very compatible with the conditions of TTN.
I can also directly access a python script via node red, but to directly access it via serial would be awesome of course.
Will the data from all of your sensors joined together for radio transmission fit in packet sizes / intervals allowed under that policy? Because you only have one radio, as far as TTN policies (not to mention radio regulations) are concerned, itâs one device and only gets one allowance, not many.
Also I would like to control a fan via a relay on this Raspberry, mostly it does this by itself (regarding the values from above) but it would be nice to be able to control it manually.
Youâd basically only be able to queue a request which would be sent down in response the next time the node sends one of its uplinks.
This would fit in my case, as I said I only want to transmit the average value, as well as alarms if necessary. This would be perfectly in line with TTNâs fair use policy.
This is maybe two uplinks a day with a small payload like the average temperature of all sensors.
With the new TTN V3 it is possible to run a class C node, which is always on receive I would like to solve it like this. If this is at all possible with this node, otherwise I would take a second node for this operation.
Seems like youâre well on your way to researching the things youâd need to consider; which implies youâre also capable of figuring out how to do it.
I have a question regarding the Raspberry Pi LoRa Node pHAT⌠After reading every tutorial I tried the example scripts and tried connecting to TTN over the shell - but: