React on RSS feed

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
MatthijsD
Posts: 29
Joined: Sunday 19 March 2017 12:48
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

React on RSS feed

Post by MatthijsD » Friday 08 September 2017 14:16

Hello!

Does anyone know if it is possible to use switches through a RSS feed?

Situation: I want to turn on lights as soon as a RSS feed gets a post with a specifiek strain of text.

Why: I'm a firefighter and I want to turn on certain lights as soon as I get a notification on my pager. Because the pager doesn't have a way to send anything, I want Domoticz to look at an RSS feed.

Can someone help me, or maybe even tell me to look in another direction than RSS?

User avatar
Westcott
Posts: 534
Joined: Tuesday 09 December 2014 18:04
Target OS: Raspberry Pi
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: React on RSS feed

Post by Westcott » Friday 08 September 2017 15:40

Python has an RSS feedreader library.
It seems to be possible in LUA as well, which makes integration easier.
How frequently would you want to check the feed?
Zwave - Sigma Z+ stick, Fibaro 2x FGSD002, FGMS001, Horstmann - 2x HRT4, 2x C-stat-11,
4x ASR-ZW, Aeon Micro Switch, 2x TKB TZ68E
Max-EQ Cube, Valve
RFXtrx433E, RFlink - 1byone driveway, doorbell, Oregon and BangGood temp
Wifi - YeeLight RGB, 3x ESP8266

MatthijsD
Posts: 29
Joined: Sunday 19 March 2017 12:48
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: React on RSS feed

Post by MatthijsD » Friday 08 September 2017 16:16

Thank you for your reply!

I'm running on Synology and would like to let it check every 5 seconds, only in a given timeframe.

MatthijsD
Posts: 29
Joined: Sunday 19 March 2017 12:48
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: React on RSS feed

Post by MatthijsD » Thursday 14 September 2017 14:00

Still unanswered and unsolved!
If anyone can help me out, that would be great :)

elmortero
Posts: 126
Joined: Sunday 29 November 2015 21:46
Target OS: Raspberry Pi
Domoticz version: 2.3852
Location: Spain
Contact:

Re: React on RSS feed

Post by elmortero » Thursday 14 September 2017 14:46

This LINK should help you get started.
It is simular to reading from a json table which has many examples here on the Domoticz forum.

MatthijsD
Posts: 29
Joined: Sunday 19 March 2017 12:48
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: React on RSS feed

Post by MatthijsD » Wednesday 20 September 2017 21:37

My script skills are sadly, very rusty.
I looked at other options and got the idea to use IFTTT web, to open an JSON url for a switch as soon as there is a new post in the RSS feed.
This, now resulting in automatically turning on the lights as soon as my pager goes off. Awesome :)

Thanks for the tips!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests