Brilliant application for getting into IoT... and very useful!
Espruino source/sink capabilities are not enough to power a servo directly, but they have plenty of power to drive the control line. You can go for a relay to switch the power of the servo, but a relay is a power hungry too. Simplest is to drive it with a FET - and it may even work to have the N-FET in the low side. Otherwise you need a P-FET. Depending on the battery you use and what protection circuitry is involved if needed at all, I see no reason why not have it 'unattended'. A PICO is fine if you tune the frequency when no clock crystal is on board. You may end up to connect it to a small display that would allow you to show and adjust the time as needed... Going Bluetooth / BLE - with the http://www.espruino.com/MDBT42Q breakout, you have communication and can control it from a phone... and get the temperature back... It all depends how elaborate you want to go... beginning w/ baby steps.
Do you know the force you need to do your switch? What is the stroke the switch has (if it is a push button switch)? Is the switch directly switching the towel rack heating element or just a control line?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Brilliant application for getting into IoT... and very useful!
Espruino source/sink capabilities are not enough to power a servo directly, but they have plenty of power to drive the control line. You can go for a relay to switch the power of the servo, but a relay is a power hungry too. Simplest is to drive it with a FET - and it may even work to have the N-FET in the low side. Otherwise you need a P-FET. Depending on the battery you use and what protection circuitry is involved if needed at all, I see no reason why not have it 'unattended'. A PICO is fine if you tune the frequency when no clock crystal is on board. You may end up to connect it to a small display that would allow you to show and adjust the time as needed... Going Bluetooth / BLE - with the http://www.espruino.com/MDBT42Q breakout, you have communication and can control it from a phone... and get the temperature back... It all depends how elaborate you want to go... beginning w/ baby steps.
Do you know the force you need to do your switch? What is the stroke the switch has (if it is a push button switch)? Is the switch directly switching the towel rack heating element or just a control line?
Can you take and publish a pic of the switch?