I have a script that fetches json data from an external service and I want to push it to my domoticz, in order to get this data over wifi on my device using domoticz API.
So I'm wondering if there is a way to store arbitrary data as text on the server?
Storing and retrieving custom data
Moderators: leecollings, remb0
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Storing and retrieving custom data
Hi,
How does the data look like?
Can you provide a little bit more of information?
Regards
How does the data look like?
Can you provide a little bit more of information?
Regards
Re: Storing and retrieving custom data
I would like to be able to store any arbitrary text data. In my case, I need to save a custom json containing events from multiple google calendars. For his purpose. I currently started an additional Flask server on my raspberry, but it would be better if I had only domoticz.
Another option is to redirect domoticz API to my python script and return this json directly without storing
Another option is to redirect domoticz API to my python script and return this json directly without storing
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Storing and retrieving custom data
Hi
Okay,
Have you already considered to use Node Red, see: https://flows.nodered.org/node/node-red-node-google.
You can push this to Domoticz, with either http or mqtt.
Regards
Okay,
Have you already considered to use Node Red, see: https://flows.nodered.org/node/node-red-node-google.
You can push this to Domoticz, with either http or mqtt.
Regards
Who is online
Users browsing this forum: No registered users and 0 guests