I'm having a TE923 compatible weatherstation runnin and login onto my Synology NAS,
instead of configuring it to work with Domoticz, is it possible to pull the data from the database?
I also have a corporate database who captures data from other sensors offsite.
If the possibility is hete to pull data from the database then I can automate more stuff.
Kind regards.
Read from another database
Moderators: leecollings, remb0
-
- Posts: 28
- Joined: Saturday 12 November 2016 20:52
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Contact:
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Read from another database
If you can access the database you can retrieve and sent every data you want.
just create a script that pulls the data and sends it to Domoticz and run it by cron.
just create a script that pulls the data and sends it to Domoticz and run it by cron.
Last edited by Egregius on Saturday 19 November 2016 23:43, edited 1 time in total.
-
- Posts: 28
- Joined: Saturday 12 November 2016 20:52
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Contact:
Re: Read from another database
Thanks for the information,
Do you have any clue on how to script this?
Unfortunately Googling does not show examples.
Do you have any clue on how to script this?
Unfortunately Googling does not show examples.
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Read from another database
Is Domoticz on the same Syno as the database?
The database is a MySQL database in MariaDB?
Do you know something about PHP?
I can only help in PHP, that's the only language I know.
The database is a MySQL database in MariaDB?
Do you know something about PHP?
I can only help in PHP, that's the only language I know.
-
- Posts: 28
- Joined: Saturday 12 November 2016 20:52
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Contact:
Re: Read from another database
Yes, my domoticz runs on the same Syno. Database is indeed Mariadb
I have no experience in PHP.
Thank you
I have no experience in PHP.
Thank you
-
- Posts: 1
- Joined: Tuesday 20 December 2016 12:35
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Read from another database
I have a corporate database too. I work at https://help.plagtracker.com/resume-editing.html and I'm searching for any help to structure it. All I knew about it before does not work, thanks for ideas.
- jenniehaleyson
- Posts: 1
- Joined: Friday 04 May 2018 16:10
- Target OS: Windows
- Domoticz version:
- Location: San Jose
- Contact:
Re: Read from another database
just create a script that pulls the data and sends it to Domoticz and run it by cron.
Please could you share at least short instructions on this item? I do not quite understand the sequence of actions.
Please could you share at least short instructions on this item? I do not quite understand the sequence of actions.
my blog about federal resume writing service help
Who is online
Users browsing this forum: No registered users and 1 guest