Closed vdiogo closed 11 months ago
This seems like some kind of connection problem. The shell command is not able to connect with the add-on server at port 5000. Try just to ping it, are you able to do that? What's your configuration? Are you using HA OS?
This seems like some kind of connection problem. The shell command is not able to connect with the add-on server at port 5000. Try just to ping it, are you able to do that?
Not really, sorry. Can you guide me here please?
What's your configuration? Are you using HA OS?
Home Assistant 2023.7.2 Supervisor 2023.07.1 Operating System 10.3 Interface: 20230705.1 - latest
From Home Assistant use the "Advanced SSH & Web Terminal" to open a terminal to your HA instance.
Then when inside your terminal just type ping your.ip.add.here:5000
(put your server IP address here, for example 192.168.0.50).
If the connection is fine then you will have a 0% packet loss message.
If you have packet losses then you have connection problems
No packages loss. Interestingly, I don't get this time out everyday (I got it today 5:30am - when I run the service - but didn't got it yesterday):
So if you try right now EMHASS is working fine?
So if you try right now EMHASS is working fine?
Yes: all automations are triggering as expected and I can see the forecasts on the UI
Ok this means that from time to time you may have some connection issues but they have nothing to do with EMHASS
Ok this means that from time to time you may have some connection issues but they have nothing to do with EMHASS
probably yes. Will close this ticket
I've setup the solcast integration, with which I have the following for sensor.solcast_24hrs_forecast:
[3367, 3430, 3443, 3428, 3342, 3206, 3022, 2782, 2486, 2151, 1776, 1372, 959, 523, 214, 80, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 50, 167, 348, 606, 903, 1206, 1501, 1790, 2060, 2333, 2601, 2775]
I've setup the following shell_command:
mpc_optim: "curl -i -H \"Content-Type: application/json\" -X POST -d '{\"pv_power_forecast\":{{states('sensor.solcast_24hrs_forecast')}}}' http://localhost:5000/action/naive-mpc-optim"
Which returned the following error when it ran: