Initially the Humidor 2.0 project sent notifications via twitter, this was not a perfect fit, because there were no push-notifications and my "followers" could read every message.
Therefore I wanted to switch to email notifications. Because Thingspeak.com does not provide email notification service I configured a scenario with pushingbox.com.
|Daily Update of temperature and humidity.|
1. configure a pushingbox.com scenario
- subject: Humidor 2.0 Daily Update - $hum$
- body: Humidity: $hum$ Temperature: $temp$
- name: Humidor 2.0 Daily Update
- url: http://api.pushingbox.com/pushingbox
- method: POST
- Content Type: application/x-www-form-urlencoded
- HTTP Version: 1.1
- body: devid=[deviceIDfrompushingbox]&hum=%%channel_24484_field_2%%&temp=%%channel_24484_field_1%%
- configure the time/interval needed
- action: ThingHTTP
- select profile: Humidor 2.0 Daily Update
- pushingbox.com -> $hum$ and $temp$ are the variables, that we submit via HTTP POST from thingspeak
- thingspeak.com -> [deviceIDfrompushingbox] the id identifies the configured scenario on pushingbox
- thingspeak.com -> %%channel_24484_field_2%% - variable from channel
- thingspeak.com -> %%channel_24484_field_1%% - variable from channel
1. daily status update, also serving as a "watchdog" to show me the service is still running smoothly
the warnings are not configured as a thingspeak "TimeControl" but as a "React" scenario, the scenario reacts on certain values in the channel on thingspeak.com, in this case the notification is triggered when the humidity value falls below a configured threshold. The notification is only triggered once when the value falls below, so I don´t get the warning every 25 minutes as long as the value stays below the threshold.