I've got my Homematic system running for quite some time, but it is time to dig a little deeper.
I'm not an expert, and am now running into some simple (but stupid) issues.
I hope someone can help me...
1. How to I upload my own scripts? It's a very basic question, and probably I am overlooking something, but I cannot seem to figure it out... (Yeah, I'm stupid.)
2. When using the web interface to build scripts, there are several checks that simply never seem to trigger an event:
- empty battery
- communication error
Here's an example of a script, that should give me a warning if there are communication errors, a problem with a valve or an empty battery:
Condition: If...
Recurring All-day starting at 19.07.2016 trigger at point of time (it's set to repeat every hour)
AND
0F_Floorheating_0_Valve when communication error check only
OR
0F_Floorheating_0_Valve when valve sticking check only
OR
0F_Heater_Waiting_Room when empty battery check only
Activity: Then...
device_selection warning_light delayed by 5 hours switching status on
Activity: Else...
device_selection warning_light delayed by 3 hours switching status off
Now, if I change the delay to minutes and test it with a direct input (for example using a switch, sensor or whatever as an input) and modify the code above by adding that switch input then it immediately detects the switch, which makes me *think* the code is right, but the functions for battery and communication errors simply do not work... Probably me, but still...
Any suggestions?
Noob questions: upload, communcation errors, empty battery
Moderator: Co-Administratoren
Re: Noob questions: upload, communciation errors, emtpy batt
If you want to upload your script, you may work with copy and paste.
Copy it from the webUI's Script Editor here into the forum using code tags above the editor area.
If you want to upload your programs you should take a screenshot and use the upload function below.
With check only you never get a Trigger on the program.
You should take "on change"
Greets
Rainer
Copy it from the webUI's Script Editor here into the forum using code tags above the editor area.
If you want to upload your programs you should take a screenshot and use the upload function below.
With check only you never get a Trigger on the program.
You should take "on change"
Greets
Rainer
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!
Re: Noob questions: upload, communciation errors, emtpy batt
Ah, my question wasn't clear. I meant how to upload a script into the CCU, not how to place it here on the forum.
Re: Noob questions: upload, communciation errors, emtpy batt
But the example you gave, dies not need any Script.
It can be done as a program by clicking it in the webUI.
Rainer
It can be done as a program by clicking it in the webUI.
Rainer
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!
Re: Noob questions: upload, communciation errors, emtpy batt
Correct. And it doesn't work Nevertheless, I still want to learn how to upload scripts. I've been programming some stuff way back, and the webUI has quite a few limitations, so why not?Homoran hat geschrieben:But the example you gave, dies not need any Script.
It can be done as a program by clicking it in the webUI.
Rainer
Re: Noob questions: upload, communcation errors, empty batte
Did you try this?blueznl hat geschrieben:Correct. And it doesn't work
Homoran hat geschrieben:With check only you never get a Trigger on the program.
You should take "on change"
Greets
Rainer
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!