Noob questions: upload, communcation errors, empty battery

Support for our english speaking visitors

Moderator: Co-Administratoren

Antworten
blueznl
Beiträge: 109
Registriert: 29.11.2014, 18:09
Danksagung erhalten: 1 Mal

Noob questions: upload, communcation errors, empty battery

Beitrag von blueznl » 24.07.2016, 14:37

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?
Zuletzt geändert von blueznl am 24.07.2016, 20:15, insgesamt 1-mal geändert.

Benutzeravatar
Homoran
Beiträge: 8613
Registriert: 02.07.2013, 15:29
Wohnort: Köln
Danksagung erhalten: 4 Mal

Re: Noob questions: upload, communciation errors, emtpy batt

Beitrag von Homoran » 24.07.2016, 14:43

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
Alle meine Hinweise sind auf eigene Gefahr umzusetzen. Immer einen Fachmann zu Rate ziehen!

blueznl
Beiträge: 109
Registriert: 29.11.2014, 18:09
Danksagung erhalten: 1 Mal

Re: Noob questions: upload, communciation errors, emtpy batt

Beitrag von blueznl » 24.07.2016, 14:46

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.

Benutzeravatar
Homoran
Beiträge: 8613
Registriert: 02.07.2013, 15:29
Wohnort: Köln
Danksagung erhalten: 4 Mal

Re: Noob questions: upload, communciation errors, emtpy batt

Beitrag von Homoran » 24.07.2016, 14:50

But the example you gave, dies not need any Script.
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!

blueznl
Beiträge: 109
Registriert: 29.11.2014, 18:09
Danksagung erhalten: 1 Mal

Re: Noob questions: upload, communciation errors, emtpy batt

Beitrag von blueznl » 24.07.2016, 20:15

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
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? :-)

Benutzeravatar
Homoran
Beiträge: 8613
Registriert: 02.07.2013, 15:29
Wohnort: Köln
Danksagung erhalten: 4 Mal

Re: Noob questions: upload, communcation errors, empty batte

Beitrag von Homoran » 24.07.2016, 20:17

blueznl hat geschrieben:Correct. And it doesn't work
Did you try this?
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!

Antworten

Zurück zu „HomeMatic - english“