My setup
I've got my wemod1 mini running the latest release (here).
I've got a BMP280 connected up and reporting back temperatures to me. Happy days.
I also have a TM1637 7 Segment display connected up and working with the built in features (clock, date etc.), so it's connected up and working fine.
My problem
My problem comes when I want to display the current temperature from the BMP280 on the 7seg display. Hitting the IP address with the control endpoint works a charm (eg. http://192.168.0.93/control?cmd=7dt,25.0) but I cannot get the SendToHttp to work for me, for whatever reason. I enabled rules and here's my code:
Code: Select all
on Clock#Time=All **:** do
SendToHTTP 192.168.0.93,80,/control?cmd=7dt,25
enddo
I got this far by following the 7 seg unit wiki page , and I've checked out others usage of SendToHTTP but I don't see how or what im doing wrong. I'm hoping i'm doing something stupid here and simple to point me in the right direction.