Skip to content

Webapplication to receive temperature and humidity readings from shelly and show on webpage

Notifications You must be signed in to change notification settings

doerfli/shelly-temp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shelly-temp

This is a simple ruby on rails webapplication to received URL action event from a Shelly H&T device and display the temperature on a webpage.

Start application

Create and migrate database

bundle exec rake db:create
bundle exec rake db:migrate

Run server

bundle exec rails start

Configuration

Point your shelly to http://<hostname>:<port>/measurements/new

Important Shelly does not support https targets!!!

Once at least one event was sent, open a webbrowser to http://<hostname>:<port>/displays/<deviceid>

Test request

curl "http://localhost:3000/measurements/new?id=device01&temp=21.23&hum=58.34"