Beiträge von nunoluis

    Right, I know that the H&T is not reachable most of the time, that's why I want to have it push the information "somewhere"...

    My question revolves around how to do that. What address to put in the request URL, considering I have a server actively collecting the data from the other Shellies ?

    If I use the address of my server, how to then go from there...? Add a port in front of the address ? How can I get the information from the H&T saved ...? (bonus if someone can help me via Telegraf :)

    Hi there,

    I'm doing something similar with my panels, but to turn on a water heater.

    To set up something like you want, you have to set up a "Scene" in your my.shelly.cloud page. You choose the room the scene relates to and add a "Condition", which in your case should be the Shelly EM, clamp #1 (or #2) > Power Consumption > When the power is less than X watts; Here you should tick the box "Execute the scene when threshold is reached: One Time" so you trigger the heater only once, which I assume you have connected to the 1PM. Then you would set up a second rule to turn it OFF, when power from EM clamp #1 is higher than X watts 1PM turns OFF. Give an interval between both so the 1PM doesn't turn ON/OFF all the time with small fluctuations (for examples, turn ON when power < -1000w and turn OFF when power > -700w).

    Something to keep in mind is that if you start sending electricity back to the network you might still pull out a lot depending on how much is your excess and your heater power needs.

    Let's say you are producing 1500w and go from consuming total 2000w in your house (say you were cooking or having the kettle on, meaning you were also pulling the extra 500w from the network) down to consuming 1200w after turning something OFF. You get a negative 300w, which is your excess production. Your shelly EM clamp set around the wire bringing power to your home will now read -300w. If you turn on your heater at this point you will get only 300w for free. If your heater requires 1500w to work, then you still need to pull 1200w from the network, which you need to pay.

    Hope this helps!

    Hi there,

    I want to periodically collect the temperature and humidity readings from a H&T sensor and save them in a database. I'm already doing this for several other Shellies, (EM, 1PM and Plug) which are always turned ON and I can just ping them for the info and obtain a http return (http://192.168.1.xx/emeter/0 , etc).

    For the H&T this is more complicated since it only wakes up from time to time. I want to make use of the REPORT URL feature for this, which I believe would receive the status (temp and hum) upon wake up, correct?

    My question is how to do this...? I have a raspberriypi as a server running telegraf which periodically pings the shellies for the info as I mentioned above, so I configured it to get the data from the shellies IPs. For the H&T REPORT URL, I should configure the REPORT URL with the raspberry IP ? Should I point to a specific port ? Any tips on how I would edit the config file of telegraf to retrieve the data coming from the H&T ?

    Thanks!

    Hi obeat ,

    I'm trying to get data from my HT sensors via telegraf to include in an influx database. I'm struggling with the method of using the "report_url" and have a listener plugin of telegraf to listen whenever the HT wakes to report a reading.

    A better (and more simple to me) idea is what you suggest: query the cloud API for the latest temperature and humidity values stored there. I tried what you suggest

    Zitat

    As an alternative, you can always query humidity and temperature data via a status request to the cloud API:

    "https://<your shelly cloud server>.shelly.cloud/device/status?id=<your device id>&auth_key=<your cloud authorization key>"

    but couldn't get this to work... can you help me out with a more specific example? I'm used to retrieve the results from querying directly other Shellies, like the EM, which send a string upon http://192.168.1.xx/emeter/0 for example.

    Hi there ferbonarense and LeFric , a user from Portugal here. It's a very eclectic forum :D

    I had exactly the same issue and used the advice from SparkyMaster written above: I went to my new router (you should be able to access via 192.168.1.1 or 192.168.0.1, these are the usual internal IP addresses for most routers; the login and pass tend to be written on the router box) and changed the network name and password for the same of the old router.

    In this way, the shellies automatically connected to the new router, since the login info was kept the same.

    This was by far the easiest solution, since I only had to change the access info once, on my laptop and not in any other device in my house!

    Good luck!

    Heya,

    This thread is quite old, but I had the same problem and for whatever reason using my phone I could not access 192.168.33.1 while to connect to a H&T sensor own Wifi. I reset it multiple times and still nothing.

    But, as soon as I used my computer to connect to 192.168.33.1 suddenly I could get in and configure it for my home's wifi.

    Hope it helps someone.

    Hi 66er ,

    Thanks for your fast reply. No problem about telegraf :) it was just as an example.

    What I want to know is how to get the reading from the H&T sensor using the action URL. Is it possible to send them to a file that gets re-written every time a new reading comes in? Because, since the sensor sleeps, I cannot ping it to get the values...

    I have the feeling that what I'm asking is quite basic, so please, feel free to just point me to a general direction and I can do some more searching (keywords...?).

    Thanks!

    Hi LordMav, 66er and all, thanks for this thread.

    I'm also trying to retrieve the info from a H&T sensor back into InfluxDB.

    At the moment I have telegraf collecting info from other sensors (Shelly EM with power meter clamps) and populating an influxdb, that I then visualise with grafana - this is still all new stuff to me as I got my first raspberrypi and command line credentials in the last couple of weeks - I'm a molecular biologist :)

    What I understand from what you write there, the H&T sensor sleeps most of the time thus cannot be pinged for info. But there is a "action URL" that we can set in the Shelly app, to trigger data collection by another function/script (telegraf?). Is this more or less the gist of it?

    What I don't understand/know is to configure whatever will collect the data once the action URL is triggered. Is it possible to use telegraf to "hear" this action URL and collect the message from the H&T sensor and send it to influxdb?

    Thanks,

    Nuno