Electric Baseboard thermostat control via ST

Please update the code I fixed couple issues

Look like you forgot to put the device id. how many thermostat you have? can you post all log in debug. please note remove the session ID in log for the privacy

After updating the code. Without doing anything other than pressing the refresh. #6 thermostat started working. my #1 still has errors below. login and password is correct. I have a total of 12 thermostats but only trying to connect 6 right now.

6:14:03 PM: error java.lang.NullPointerException: Cannot invoke method getAt() on null object @ line 267
6:14:03 PM: debug Executing ā€˜poll’
6:14:03 PM: debug Loged in…
6:14:03 PM: debug Need to login
6:14:03 PM: debug No data.auth
6:14:03 PM: debug [sessionExpired:true]
6:14:03 PM: debug session Expired

So does this API allow smartthings to control the Sinope thermostats?

Yup it works for me!

you still have an issue in device ID, make sure there is no space or anythings around the number, you should have only 1.
and Please post all log including data log (after status…) just remove any personal information from it (like the email, session ID and the postal code) that will help to know if there is any other issues. Even if you post the log from other working thermostat will help too

What’s the difference between Stelpro and Sinope? Why would I want to choose Stelpro?

Without doing anything other than pressing the refresh button. I have the last one connected. Pretty strange and not too useful for debugging for you.
Thank you for your code. Haven’t done much with it with ST yet but will sure doing some rules with rule machine shortly.

Can i just replace the code in the current devise handler or should I create a new devise handler with new code?

I havent been able to get the thermostats to set below 50F through smartthings.

Is there any chance to get this in Ferenheight instead of Celcius?

Ive also noticed the temperature displayed in smartthings foes not uodate unless i manually refresh

As stated above. Stelpro is releasing a Z-wave thermostat so in theory it’s going integrate directly with ST where Sinope is a WiFi thermostat with an API.
With ST and scheduling/time base issues right now. I am glade I have Sinope.

I’ve been watching the status of the Sinope API and glad it’s out and working. I’m not sure if anyone else has had this problem or noticed but both the Casa Caleo and Stelpro do not work with forced fan heaters. That’s a deal breaker for me since every room in my house uses forced fan heaters. Casa support stated that the thermostat would not work due to its timers which prevent the fan from staying on. Sinope is the only wireless line voltage thermostat that will work. I haven’t been able to get anymore information about the HeatIt system and its function, but it’s the only other zwave line voltage system I could find. So Sinope all the way!!!

Please check the new code

Thanks @Mdbashi im new to this… Can i just replace the code in my existing devise handler or doni need to create a new one?

You need to replace code. then Save then Publish to me

Thanks @Mdbashi I really appreciate your work. Would you accept a donation? You have filled a huge gap for us.

I installed the updated code. The thermostat is now being controlled in Ferenheight! Thanks. However the Smartthing app is still displaying Celcius in the current temp readings. Also, 50 is the lowest temperture the app will send to neviweb.

I’m watching this thread with great interest. Can someone who is using this Sinope integration via the API speak to the kind of control it offers?

My use case is that my home office has baseboard heat (outside of the main forced air furnace duct work).

On days that I’m working from home (not on a set schedule, but perhaps triggered by my presence in the house after 8am) I’d like to trigger a routine that includes warming up my home office. I’d also like a rule that ensure the thermostat is turned down at night, or after periods of no motion.

I’d been waiting for a Z Wave integrated thermostat, but there are some advantages to the Wifi enabled thermostat with an API. For instance, a secondary method of monitoring/controling the temp if I’m having issues with my hub.

After adding the Sinope Thermo devise handler and then adding each thermostat as a devise the Smartthings app recognises each thermostat individually just like any other thermostat. So you should not have any problems and will be able to do anything you would with any other thermostat.

Its not a problem but FYI the thermostats are showing up in the smartthings app Under the ā€œmy familyā€ tab and are showing up options for when someone arrives.

Thanks @ProZach, I need to do some clean up for the code, I’m so busy this week. Please don’t consider it as final version yet LOL

I will post the new code when it’s ready.