stateInverted {
if( ReadingsVal($NAME,"state","") eq "on") {return 0}
elsif(ReadingsVal($NAME,"state","") eq "MISSING ACK") {return "MISSING ACK"}
elsif(ReadingsVal($NAME,"state","") eq "off") {return 100}
elsif(ReadingsVal($NAME,"state","") eq "set_stop") {return "stop"}
elsif(ReadingsVal($NAME,"state","") eq "unreachable") {return "unreachable!!"}
else {return int((ReadingsVal($NAME,"state",0)-100)*-1)}
}
2024.04.23 08:24:13.592 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 52 A0 11 12AEB3 6686E7 8001C8CA
2024.04.23 08:24:13.752 0: HMUARTLGW myHmUART recv: 01 04 03 00 39 msg: 52 80 02 6686E7 12AEB3 01011010 44 3C01
2024.04.23 08:24:15.928 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:24:19.128 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:24:23.652 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:24:29.290 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 53 A0 11 12AEB3 6686E7 0301
2024.04.23 08:25:22.828 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 54 A0 11 12AEB3 6686E7 800100CA
2024.04.23 08:25:26.040 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 54 A0 11 12AEB3 6686E7 800100CA
2024.04.23 08:25:26.496 0: HMUARTLGW myHmUART recv: 01 04 03 00 35 msg: 54 80 02 6686E7 12AEB3 01013220 44 C802
2024.04.23 08:25:29.363 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 55 A0 11 12AEB3 6686E7 0301
2024.04.23 08:25:33.362 0: HMUARTLGW myHmUART send: 01 02 00 00 00 msg: 55 A0 11 12AEB3 6686E7 0301
curl --location --request POST 'http://192.168.xxx.xxx:7070/api/loadpoints/3/mode/off
(wen es interessiert: es handelt sich hier um einen Heizstab in EVCC)Zitat von: carlos am 22 April 2024, 13:21:50Wenn ich jetzt per cpan z.b.: Finance::Quote installieren möchte, wie kann ich das machen?
Gibt es da eine generelle Vorgehensweise, wenn ich Zusatzliche Software installieren möchte?
Make any other changes during container start
In case you need to perform further changes to the container before it is ready for your FHEM instance to operate, there are a couple of entry points for your own scripts that will be run automatically if they are found at the right place. In order to achieve this, you need to mount the script file itself or a complete folder that contains that script to the respective destination inside your container. See Docker documentation about Use volumes and Bind mounts to learn how to achieve this in general.
.....