Things used in this project

Hardware components:
Mcp23008 scio6r2g5v1 a 1 Particle Photon I²C 2-Channel SPDT 1-Amp Signal Relay
We used one of these boards with 4 channels instead.
Photon new
Particle Photon
Adafruit ds18b20 waterproof digital temperature sensor
Software apps and online services:
porter app
Particle 2.0 iOS App


Plant UML code for the state machine of the firmwarePlain text
To draw the FSM image, copy paste this code in
skinparam backgroundColor LightYellow
skinparam state {
  BackgroundColor LightBlue
  BorderColor Gray
  FontName Impact

[*] --> initState

note left of initState : The system boots\nin this state

initState -down-> offState: 10 seconds

offState: heating off
offState -down-> onState: temperature < target

onState: heating on
onState -up-> offState: temperature > target
github repo
flash this code in your photon


Img 20160904 wa0001
Gustavo Gonnet

If you need professional help with a project, contact me at

Thanks to Sergio Boyd.


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

Chromebook Enrollment
  • 523
  • 9

Work in progress

For work every now and then I have to enroll up to 200 Chromebooks/Chromebits/Chromeboxes, so I wrote a script that does just that.

Particle Photon and Electron shield
  • 275
  • 3

Work in progress

I was tired of using push-in boards and jumpers for my projects, so I developed a shield for the Particle Electron.

Echo Kill Switch
  • 4,379
  • 21

Full instructions

Use Amazon Alexa to trigger an IFTTT applet that causes a Particle Photon to remove power from an Echo.

Particle + Raspberry Pi
  • 3,164
  • 19


The world's favorite low-cost computer now connects to the world's most popular IoT platform.

How to Command a RS485 Relays
  • 316
  • 3


Easy way to command a RS485 Relay boards with our Rotilio board.

Internet-connected Festive Tree
  • 244
  • 4

Full instructions

Spruce up your desk or home with an Internet-controlled 3D printed Holiday tree!

Add projectSign up / Login
Respect project