开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

jbasen: Shelly temp/humidity sensors


 

开云体育

Hi Jay,

?

i?m just testing with the Shelly Add-on board and an attached temperature and humidity sensor.

The Add-On board is attached to a Shelly1.

Sensors are recognized by the Shelly1 and working – temperate and humidity is reported on the Shelly?s web-interface.

Now i?d like to integrate these values into my Crestron system.

I?m using the latest v8 package of your Shelly modules.

?

In the help for the “Humidity-Temperature Sensor v1” module, it says:

For the module to properly refect the feedback the following

fields of the Shelly I/O URL Actions must be set:

1) Humidity-Temperature Sensor Report Sensor Values URL

This field should be set as follows where Processor_IP and

Processor_Port must match what is set in the Shelly Comm Manager

module.?

?

?

The problem is, that I don?t have a “Humidity-Temperature Sensor Report Sensor Values URL” setting under “Shelly I/O URL Actions”.

I do have the described over and under events, but nothing for the actual readings for temp. and humid.

?

Shelly firmware is the latest (updated today).

?

Any idea?

?

Cheers and a Happy New Year to all on the list!

Thorsten

?


 

开云体育

Hi Thorsten,

First, the Humidity-Temperature Sensor v1 module is for the Shelly Humidity-Temperature sensor.? I'm not sure that I ever tested that with a sensor connected to a Shelly 1/Shelly 1PM.?

I'm trying to reproduce your setup to see if I can make it work.? Unfortunately, the temperature sensor adapter I have for the Shelly 1 and Shelly 1PM appears to have a problem.? As soon as I plug it into a Shelly device it crashes it.?

When I view the built in web page for the Shelly Humidity-Temperature Sensor there are 2 sections for URL actions.? The first is Sensor URL actions.? This is where the entries for over temp/under temp and over humidity/under humidity are located.? However, there is also a section called actions.? Under the actions section is where "Report Sensor Values" url action is located that is needed to report temperature and humidity updates to a Crestron processor.

If this isn't included with the Shelly 1/Shelly 1PM then I'm sorry there isn't a way, without writing additional HTTP code to poll those values, to make it work for you.?

The Shelly H&T Sensor is under $30 so that may be the easiest path.

Hope this helps

Jay


On 12/31/2021 10:44 AM, Thorsten K?hler wrote:

Hi Jay,

?

i?m just testing with the Shelly Add-on board and an attached temperature and humidity sensor.

The Add-On board is attached to a Shelly1.

Sensors are recognized by the Shelly1 and working – temperate and humidity is reported on the Shelly?s web-interface.

Now i?d like to integrate these values into my Crestron system.

I?m using the latest v8 package of your Shelly modules.

?

In the help for the “Humidity-Temperature Sensor v1” module, it says:

For the module to properly refect the feedback the following

fields of the Shelly I/O URL Actions must be set:

1) Humidity-Temperature Sensor Report Sensor Values URL

This field should be set as follows where Processor_IP and

Processor_Port must match what is set in the Shelly Comm Manager

module.?

?

?

The problem is, that I don?t have a “Humidity-Temperature Sensor Report Sensor Values URL” setting under “Shelly I/O URL Actions”.

I do have the described over and under events, but nothing for the actual readings for temp. and humid.

?

Shelly firmware is the latest (updated today).

?

Any idea?

?

Cheers and a Happy New Year to all on the list!

Thorsten

?


 

开云体育

Hi Jay,

?

Happy New Year!

?

Unfortunately, the Shelly 1 + Add-On combo doesn’t seem to support sensor reporting via URL.

There?s no “Report Sensor Values" option.

The Shelly H&T Sensor isn?t an option IMHO since I prefer to have invisible sensors with no maintenance.

The H&T is another “thingy” standing around needing support from time to time replacing batteries (even if it?s just once a year).

?

So I?ll approach Allterco and ask them if it?s possible to add the sensor reporting to the Add-On/1/1PM.

?

Cheers,

Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von jbasen
Gesendet: Freitag, 31. Dezember 2021 22:08
An: [email protected]
Betreff: Re: [crestron] jbasen: Shelly temp/humidity sensors

?

Hi Thorsten,

First, the Humidity-Temperature Sensor v1 module is for the Shelly Humidity-Temperature sensor.? I'm not sure that I ever tested that with a sensor connected to a Shelly 1/Shelly 1PM.?

I'm trying to reproduce your setup to see if I can make it work.? Unfortunately, the temperature sensor adapter I have for the Shelly 1 and Shelly 1PM appears to have a problem.? As soon as I plug it into a Shelly device it crashes it.?

When I view the built in web page for the Shelly Humidity-Temperature Sensor there are 2 sections for URL actions.? The first is Sensor URL actions.? This is where the entries for over temp/under temp and over humidity/under humidity are located.? However, there is also a section called actions.? Under the actions section is where "Report Sensor Values" url action is located that is needed to report temperature and humidity updates to a Crestron processor.

If this isn't included with the Shelly 1/Shelly 1PM then I'm sorry there isn't a way, without writing additional HTTP code to poll those values, to make it work for you.?

The Shelly H&T Sensor is under $30 so that may be the easiest path.

Hope this helps

Jay

?

On 12/31/2021 10:44 AM, Thorsten K?hler wrote:

Hi Jay,

?

i?m just testing with the Shelly Add-on board and an attached temperature and humidity sensor.

The Add-On board is attached to a Shelly1.

Sensors are recognized by the Shelly1 and working – temperate and humidity is reported on the Shelly?s web-interface.

Now i?d like to integrate these values into my Crestron system.

I?m using the latest v8 package of your Shelly modules.

?

In the help for the “Humidity-Temperature Sensor v1” module, it says:

For the module to properly refect the feedback the following

fields of the Shelly I/O URL Actions must be set:

1) Humidity-Temperature Sensor Report Sensor Values URL

This field should be set as follows where Processor_IP and

Processor_Port must match what is set in the Shelly Comm Manager

module.?

?

?

The problem is, that I don?t have a “Humidity-Temperature Sensor Report Sensor Values URL” setting under “Shelly I/O URL Actions”.

I do have the described over and under events, but nothing for the actual readings for temp. and humid.

?

Shelly firmware is the latest (updated today).

?

Any idea?

?

Cheers and a Happy New Year to all on the list!

Thorsten

?


 

开云体育

Hi Thorsten,

Happy new year!

Sounds good.?? But, just so you know, I believe there is a plug-in option for the H&T Sensor so you don't have to replace the batteries.? It wouldn't be as hidden as the sensor for the Shelly 1/1PM but it would be maintenance free.

Hope this helps

Jay

On 1/1/2022 2:32 AM, Thorsten K?hler wrote:

Hi Jay,

?

Happy New Year!

?

Unfortunately, the Shelly 1 + Add-On combo doesn’t seem to support sensor reporting via URL.

There?s no “Report Sensor Values" option.

The Shelly H&T Sensor isn?t an option IMHO since I prefer to have invisible sensors with no maintenance.

The H&T is another “thingy” standing around needing support from time to time replacing batteries (even if it?s just once a year).

?

So I?ll approach Allterco and ask them if it?s possible to add the sensor reporting to the Add-On/1/1PM.

?

Cheers,

Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von jbasen
Gesendet: Freitag, 31. Dezember 2021 22:08
An: [email protected]
Betreff: Re: [crestron] jbasen: Shelly temp/humidity sensors

?

Hi Thorsten,

First, the Humidity-Temperature Sensor v1 module is for the Shelly Humidity-Temperature sensor.? I'm not sure that I ever tested that with a sensor connected to a Shelly 1/Shelly 1PM.?

I'm trying to reproduce your setup to see if I can make it work.? Unfortunately, the temperature sensor adapter I have for the Shelly 1 and Shelly 1PM appears to have a problem.? As soon as I plug it into a Shelly device it crashes it.?

When I view the built in web page for the Shelly Humidity-Temperature Sensor there are 2 sections for URL actions.? The first is Sensor URL actions.? This is where the entries for over temp/under temp and over humidity/under humidity are located.? However, there is also a section called actions.? Under the actions section is where "Report Sensor Values" url action is located that is needed to report temperature and humidity updates to a Crestron processor.

If this isn't included with the Shelly 1/Shelly 1PM then I'm sorry there isn't a way, without writing additional HTTP code to poll those values, to make it work for you.?

The Shelly H&T Sensor is under $30 so that may be the easiest path.

Hope this helps

Jay

?

On 12/31/2021 10:44 AM, Thorsten K?hler wrote:

Hi Jay,

?

i?m just testing with the Shelly Add-on board and an attached temperature and humidity sensor.

The Add-On board is attached to a Shelly1.

Sensors are recognized by the Shelly1 and working – temperate and humidity is reported on the Shelly?s web-interface.

Now i?d like to integrate these values into my Crestron system.

I?m using the latest v8 package of your Shelly modules.

?

In the help for the “Humidity-Temperature Sensor v1” module, it says:

For the module to properly refect the feedback the following

fields of the Shelly I/O URL Actions must be set:

1) Humidity-Temperature Sensor Report Sensor Values URL

This field should be set as follows where Processor_IP and

Processor_Port must match what is set in the Shelly Comm Manager

module.?

?

?

The problem is, that I don?t have a “Humidity-Temperature Sensor Report Sensor Values URL” setting under “Shelly I/O URL Actions”.

I do have the described over and under events, but nothing for the actual readings for temp. and humid.

?

Shelly firmware is the latest (updated today).

?

Any idea?

?

Cheers and a Happy New Year to all on the list!

Thorsten

?


 

开云体育

Thanks, Jay. Then you have a cabled device sitting somewhere on a shelf.

These “balls” are fine for temporary use to just get some quick readings, but nothing for a permanent install.

That?s all IMHO of course.

?

I just filed a feature request with Shelly to add the missing functionality. ?

?

Cheers,

Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von jbasen
Gesendet: Samstag, 1. Januar 2022 14:18
An: [email protected]
Betreff: Re: [crestron] jbasen: Shelly temp/humidity sensors

?

Hi Thorsten,

Happy new year!

Sounds good.?? But, just so you know, I believe there is a plug-in option for the H&T Sensor so you don't have to replace the batteries.? It wouldn't be as hidden as the sensor for the Shelly 1/1PM but it would be maintenance free.

Hope this helps

Jay

On 1/1/2022 2:32 AM, Thorsten K?hler wrote:

Hi Jay,

?

Happy New Year!

?

Unfortunately, the Shelly 1 + Add-On combo doesn’t seem to support sensor reporting via URL.

There?s no “Report Sensor Values" option.

The Shelly H&T Sensor isn?t an option IMHO since I prefer to have invisible sensors with no maintenance.

The H&T is another “thingy” standing around needing support from time to time replacing batteries (even if it?s just once a year).

?

So I?ll approach Allterco and ask them if it?s possible to add the sensor reporting to the Add-On/1/1PM.

?

Cheers,

Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von jbasen
Gesendet: Freitag, 31. Dezember 2021 22:08
An: [email protected]
Betreff: Re: [crestron] jbasen: Shelly temp/humidity sensors

?

Hi Thorsten,

First, the Humidity-Temperature Sensor v1 module is for the Shelly Humidity-Temperature sensor.? I'm not sure that I ever tested that with a sensor connected to a Shelly 1/Shelly 1PM.?

I'm trying to reproduce your setup to see if I can make it work.? Unfortunately, the temperature sensor adapter I have for the Shelly 1 and Shelly 1PM appears to have a problem.? As soon as I plug it into a Shelly device it crashes it.?

When I view the built in web page for the Shelly Humidity-Temperature Sensor there are 2 sections for URL actions.? The first is Sensor URL actions.? This is where the entries for over temp/under temp and over humidity/under humidity are located.? However, there is also a section called actions.? Under the actions section is where "Report Sensor Values" url action is located that is needed to report temperature and humidity updates to a Crestron processor.

If this isn't included with the Shelly 1/Shelly 1PM then I'm sorry there isn't a way, without writing additional HTTP code to poll those values, to make it work for you.?

The Shelly H&T Sensor is under $30 so that may be the easiest path.

Hope this helps

Jay

?

On 12/31/2021 10:44 AM, Thorsten K?hler wrote:

Hi Jay,

?

i?m just testing with the Shelly Add-on board and an attached temperature and humidity sensor.

The Add-On board is attached to a Shelly1.

Sensors are recognized by the Shelly1 and working – temperate and humidity is reported on the Shelly?s web-interface.

Now i?d like to integrate these values into my Crestron system.

I?m using the latest v8 package of your Shelly modules.

?

In the help for the “Humidity-Temperature Sensor v1” module, it says:

For the module to properly refect the feedback the following

fields of the Shelly I/O URL Actions must be set:

1) Humidity-Temperature Sensor Report Sensor Values URL

This field should be set as follows where Processor_IP and

Processor_Port must match what is set in the Shelly Comm Manager

module.?

?

?

The problem is, that I don?t have a “Humidity-Temperature Sensor Report Sensor Values URL” setting under “Shelly I/O URL Actions”.

I do have the described over and under events, but nothing for the actual readings for temp. and humid.

?

Shelly firmware is the latest (updated today).

?

Any idea?

?

Cheers and a Happy New Year to all on the list!

Thorsten

?


 

Hi Jay,
im using H&T sensor only as a temp probe but i have 2 questions:
1 - i see on console temp have one decimal, it is possible to have out module also?
2 - maybe my mistake somewhere, H&T push me info but i would have expected every celsius degree change but is not so. Now a'm thinking powering H&T every time i need temp feedback using power like polling, any advise?

many thaks in advanced
antonio


 

开云体育

Hi Antonio,

Sorry for the slow reply.

First, I posted all the source code for the Shelly modules, including the S# code, on my GitHub for exactly this reason.? There is nothing stopping anyone from tweaking these modules to, for example, parse the temperature and humidity values in a different way to obtain the full value instead of just the whole number value of the readings.? I'd have to setup a H&T sensor to test with this to be 100% sure but looking at the code it appears that I'm sending back the full value from the S# code to the S+ code and then just do an atoi for parsing.? I think you could just replace the atoi call with some more sophisticated parsing in S+ to accomplish what you want.? The other alternative would be to parse the values in S#, multiply the result by 10, and pass them back as shorts instead of strings to s+.? This is essentially how Crestron thermostats report values in 10ths of degrees.

I have to make some updates to the Shelly modules for some new hardware that Shelly is releasing so I may be able to do something in the next couple of weeks.

Your question about polling the H&T sensor is one you would have to ask Shelly.? I expect they are trying to maximize the battery life of the sensor so that is probably why it doesn't give temperature updates as often as you would like.? I'm not aware of how you could force an update but Shelly tech support may be able to help you out with that question.

Thanks

Jay

On 2/18/2022 12:10 AM, a.patane@... wrote:

Hi Jay,
im using H&T sensor only as a temp probe but i have 2 questions:
1 - i see on console temp have one decimal, it is possible to have out module also?
2 - maybe my mistake somewhere, H&T push me info but i would have expected every celsius degree change but is not so. Now a'm thinking powering H&T every time i need temp feedback using power like polling, any advise?

many thaks in advanced
antonio


 

Thanks for reply Jay,
everything is as I imagined it.?
About polling I was hoping I was wrong ... :-).
unfortunately i'm not a so good s# programmer,?
i'll try to modify your code to have decimal degrees, hoping to not destroy completely module ;-)
Thanks again
Antonio?


 

开云体育

Hi Antonio,

I've just started adding support for a couple of new pieces of Shelly hardware to the code.? Since I'm modifying the code myself right now I'll see if I can add support for tenths of degrees.? It may take a little while so if you run into problems my changes can be your fallback.

Thanks

Jay


On 2/21/2022 3:46 AM, a.patane@... wrote:

Thanks for reply Jay,
everything is as I imagined it.?
About polling I was hoping I was wrong ... :-).
unfortunately i'm not a so good s# programmer,?
i'll try to modify your code to have decimal degrees, hoping to not destroy completely module ;-)
Thanks again
Antonio?