SpaceLogic KNX Forum
Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.
Link copied. Please paste this link to share this article on your social media post.
dear all,
a short introduction: I am a privat, ambitioned, nevertheless non professional, trying to learn and implement small "add-ons" to my spacelynk system.
my first project was: I created successfully a script in adding the local weather data and even getting automations to rely on it.
my next challenge is to "get " data from an external calendar and depending on the an entry or not, to automate the heating accordingly.
I haven't found a better source of script examples than here, therefore my question. do you have some hints where else I could have look, or even better, if someone might have successfully implemented something similar. are there chances of connecting the external calendar with the internal one?... which tutorials would you recommend... especially with the handicap that I do not want to go into the ETS part ๐
thanks for your answers in advance
flo
Link copied. Please paste this link to share this article on your social media post.
There is a very simply way to allow calendar programations using a bit to enable or disable the programation:
In this case, activating or deactivating 32/1/78 programations are active or not.
Link copied. Please paste this link to share this article on your social media post.
Hello Flo,
I havent recognized that somebody has realized that.
As an alternativ ... what do you think about the use of motion sensors?
With these you could heat the room when it is really used .
You could add to your W4K (LSS100100) or sL (LSS100200) a SpaceLogic KNX Hybrid Modul (LSS100400) and combine it with battery powered motion sensors (CCT595012 ).
For scripts ... please share your trials here so that we can take a common look to it.
Because it is maybe interesting also for other forum users.
Link copied. Please paste this link to share this article on your social media post.
Hi Thomas,
sorry, I precise my idea a bit better.
I would like to automate to heat up an apartment a day before guests arrive, and go back to standby when they leave. The calendar entries are created during the booking process. As I am lazy ๐ , I would not always have to check the calendar if there are bookings or not. so the motion sensor theoretically would work, with a certain delay though...
as far as I understand LUA scripting so far, fetching data from the calendar is not to much of a problem... now I have to convert the entry to e.g. "1" and no entry to "0" per day. 1 would then trigger the heating to a certain level, 0 to another lower one.
as soon as I managed the first bits properly, I will share my script-trials ๐
Link copied. Please paste this link to share this article on your social media post.
With a lot of help of ChatGPT I managed to write the script very close to what I am looking for:
Here the code: please excuse that I have the comments in germanโฆ
it works as planned, from there I go with an Automationโฆ
curious what you think
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.