Commit Graph
9 Commits
Author SHA1 Message Date
Gijs Noorlander 4bda90bd58 [LoRa/TTN] Add decoder for the packet header
Makes the rest of the decoder.js a lot simpler.
Also changed the GPS lat/long into 3 bytes again, saving 2 bytes in the packet length.
GPS outputs now 7 values  using 18 bytes (incl. header)
2019-08-15 14:20:36 +02:00
Gijs Noorlander 2a30651a7f [LoRa/TTN] Add raw encoder/decoder for sysinfo plugin
This does send out all 11 values of the sysinfo plugin.
2019-08-15 14:18:42 +02:00
Gijs Noorlander 77b39b748c [LoRa/TTN] Output packed raw format for uploading to TTN
This does allow uploading even more parameters than the 4 supported by ESPeasy, since encoder and decoder can be tailored to the specific plugin.
For example the GPS plugin can now upload 7 parameters in only 20 bytes.

Still to do: Why can the decoder not handle encoding per 24 bit? (lat/lon do fit perfectly fine in 24 bit).
2019-08-15 02:12:13 +02:00
Gijs Noorlander 022ca8a6ec [LoRa/TTN] Add Sample Set Initiator to mark samples of the same set
For LoRa, it may take a while to send out samples of different plugins.
This makes it hard to match samples belonging to the same set after receiving them.
The Sample Set Initiator is a task index which should always be considered as the first of a set samples sent to the controller.
For example when triggering to send a set of samples from rules, its order can be always the same. 
Setting the initiator to the first one of the sequence, the same sample set counter will be sent along with the samples.
2019-08-14 19:50:27 +02:00
Gijs Noorlander 716ead2146 [LoRa TTN] Add decoder types 2019-08-12 01:02:14 +02:00
Gijs Noorlander 49ce799795 [LoRa TTN] Add basic decoder for all plugins
Next step will be to let the plugin generate the binary data.
2019-08-11 01:33:11 +02:00
Gijs Noorlander 13e6b94e16 [LoRa TTN] Start working on the interpreter of decoded data
Currently BME280 and SystemInfo are being detected.
2019-08-10 14:10:51 +02:00
Gijs Noorlander 7d54a43b96 [LoRa TTN] Send data to the TTN network + decoder 2019-08-10 02:59:54 +02:00
TD-er e27a34e07d [#2390] Added Wemos Motor Shield firmware binary to ESPeasy repo
Just to make sure it will remain available.
2019-03-14 11:09:12 +01:00