Replies: 1 comment 4 replies
-
The long path is not the problem, you should read this for the limitation of data structure. However, you can create your own version of FireSense based on your custom path requirement. Firebase-ESP-Client/src/addons/FireSense/FireSense.h Lines 3287 to 3378 in 30adc8a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
So I was wandering if it is possible to change the structure of information sent to Firebase.
Currently its something like this, using the default sketch data:
Sensors/config/devices/Node1-ESP-id/channels/0/gpio: etc
Sensors/controls/Node1-ESP-id/channels/channel-id
Sensors/log/Node1-ESP-id/timestamp/channel-id:value
Is it possible to change the structure to the following:
Node1-ESP-id/config/channels/gpio: etc
Node1-ESP-id/channels/channel-id:value
Node1-ESP-id/log/channel-id/timestamp:channel-id:value
Would the new structure require a rewrite of FireSense.h?
The reason is trying to read the log, it goes down to many levels and what I believe, if we could have a shorter and different structure would make it neater and easier to read from a backend etc. If you have any questions/ suggestions or would like me to explain more please let me know.
Beta Was this translation helpful? Give feedback.
All reactions