Re: [mh] Schulter Ditra thermostats
H Plato <[email protected]> Thu, 4 Nov 2021 21:53:12 -0600
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Not only a spelling mistake, but no instructions either! :) Two things, Set the username (email) and password in the mh.config like this: ditra_username = [email protected] ditra_password = password Then define the master object. I have two thermostats, but they use the master object like this: use Schulter_Ditra; $ditra = new Schulter_Ditra; $room1_sp = new Ditra_thermostat_sp($ditra,123456); $room1_mode = new Ditra_thermostat_mode($ditra,123456); $room1_temp = new Ditra_thermostat_temp($ditra,123456); $room2_sp = new Ditra_thermostat_sp($ditra,234567); $room2_mode = new Ditra_thermostat_mode($ditra,234567); $room2_temp = new Ditra_thermostat_temp($ditra,234567); Then in the web interface you can see the mode and change the setpoint. By default I set the poll to every 10 seconds, so it’s not realtime to reflect local changes. I’ll add these instructions and correct the spelling mistake for the next update > On Nov 4, 2021, at 9:14 PM, Tom MacLean <[email protected]> wrote: > > > I have the Schluter code running, but frankly I don't know how to use it. I set the required params, and I can see it authenticating and fetching my group. I tried creating a temp object, but I don't know how to read it. > > $Basement_Bathroom_Thermostat = new Schulter_Ditra(); > $Basement_Bathroom_temp = new Ditra_thermostat_temp($Basement_Bathroom_Thermostat,"SERIAL NUMBER"); > > Can you provide any guidance? > > Thanks, > Tom > > On 2021-11-04 17:20, Tom MacLean wrote: >> Is it all contained in lib/Schulter_Ditra.pm ? (BTW, it's Schluter.) >> Will this lib run on the current release or are there unmet >> dependencies? In any case, i will try. >> Cheers >> On 2021-11-03 22:49, H Plato wrote: >>> ThatâÂÂs good. I uploaded my latest module to github. It tracks mode, >>> and you can change the setpoint and pull the temperature. Be good to >>> know if you have any feedback. >>>> On Nov 3, 2021, at 8:35 PM, Tom MacLean <[email protected]> wrote: >>>> It took me a little fighting to get Crypt::SSLeay installed, but I got there. (cpan wouldn't do it, I had to apt-get the relevant libraries.) >>>> I am able to authenticate at the schluter URL as well as the generic one. I checked and both domains map to the same IP address. >>>> On 2021-11-02 10:52, H Plato wrote: >>>>> Interesting. I can authenticate against that URL as well, so I bet >>>>> youâÃÂÃÂre correct that the reseller is branding that URL. >>>>> To create an account, I had to have power to my wifi device, and then >>>>> associated that device with an email account. >>>>> I donâÃÂÃÂt have any documentation âÃÂàI pulled the endpoints from other >>>>> integrations that are out there on github. >>>>>> On Nov 1, 2021, at 9:17 PM, Tom MacLean <[email protected]> wrote: >>>>>> In truth, I haven't hooked up my unit to wifi yet -- the relevant bathroom is still under construction (by me), but I'm almost done. The heated floor and thermostat are in, all I need is the "round tuit" to connect it to wifi. >>>>>> The URL I have is diferrent, but the Schluter Thermostat is definitely an OJ Microline ... so I think they have branded URLs or perhaps a different application number. The code I expect to use uses: >>>>>> https://mythermostat.info/api/authenticate/user >>>>>> {"Email":"LOGIN EMAIL","Password":"LOGIN PASSWORD","Application":0} >>>>>> Looks familiar, no? >>>>>> Do you have documentation? The only two actions I know about are setting an override "away" temperature, and resuming the normal schedule. >>>>>> Cheers >>>>>> Tom >>>>>> On 2021-10-31 18:25, H Plato wrote: >>>>>>> OK, if you have an account with one of those stats, try running this >>>>>>> command to see if you get a sessionID: >>>>>>> ./get_url -response_code -json -post >>>>>>> '{"EmailÃÂâÃÂÃÂÃÂÃÂ:ÃÂâÃÂÃÂÃÂÃÂ[email protected]","PasswordÃÂâÃÂÃÂÃÂÃÂ:"password","Application":"7"}' >>>>>>> https://ditra-heat-e-wifi.schluter.com/api/authenticate/user >>>>>>> If you get back something like this: >>>>>>> RESPONSECODE:200 >>>>>>> {"SessionIdÃÂâÃÂÃÂÃÂÃÂ:ÃÂâÃÂÃÂÃÂÃÂsdfhsdihflasdfhalsdiufha","NewAccount":false,"ErrorCode":0,"RoleType":3000,"Email":"[email protected]","Language":ÃÂâÃÂÃÂÃÂÃÂEN"} >>>>>>> Then it will work. >>>>>>>> On Oct 31, 2021, at 4:12 PM, Tom MacLean <[email protected]> wrote: >>>>>>>> Hi >>>>>>>> Is the Schluter thermostat one of the models made by OJ Electronics? They make thermostats for a bunch of floor heating companies, including also WarmlyYours. In short, I could test it if is. I didnÃÂâÃÂÃÂÃÂÃÂt think they had a public API. All I found was a rather limited NodeRED script. >>>>>>>> Cheers, >>>>>>>> Tom >>>>>>>> Sent from my iPhone >>>>>>>>> On Oct 30, 2021, at 2:34 PM, H Plato <[email protected]> wrote: >>>>>>>>> ÃÂïÃÂûÃÂÿI donÃÂâÃÂÃÂÃÂÃÂt know if anyone else has any of these, but IÃÂâÃÂÃÂÃÂÃÂm just putting the finishing touches on a MH module to poll and control the wifi in-floor heat thermostats. >>>>>>>>> It feels like there are a bunch of changes out there (like the tasmota stuff), IÃÂâÃÂÃÂÃÂÃÂm wondering if it makes sense to combine them all into master and look to package it for a release. MH is pretty mature and stable, so there hasnÃÂâÃÂÃÂÃÂÃÂt been updates in a while, but would be good to have a current download. >>>>>>>>> ________________________________________________________ >>>>>>>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>>>>>> ________________________________________________________ >>>>>>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>>> ________________________________________________________ >>>> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> ________________________________________________________ >> To unsubscribe from this list, go to: >> https://lists.sourceforge.net/lists/listinfo/misterhouse-users ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users