Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I'll give it a try in the next few days :)
Then, Waaaaah !!! Easier, sure, but DAMN that's interesting !
Thanks for sharing !
(well it's easier than going through this damn paper like I'm supposed to be doing: https://agupubs.onlinelibrary.wiley.com/doi/epdf/10.1029/2005JE002444 )
Your new job looks amazing !!
Yeah, I wanted to do that because I have a mobile station which stays a moment at its location sometimes, so it needs to be reseted when I am at my new location, but not necessary for the journey each time my solar panels detect the sun :)
Your future scheduling stuff sounds great too !!
I'll put it up when it's good and tested - the problem with this time-based stuff is you have to sit around for hours in the game to test it!
The basic idea is that you create your schedule in Custom Data, and it might look something like this:
18 0 on MainLight
18 10 off G:Lights
* 5,10,15,20,25,30,35,40,45,50,55 action Door Open_Off
and so on.
The first two parts are hours and minutes, where you can give a number, a set of numbers separated by commas, a range (like 10-20) or "*" for "all". So the first line does its action at 6pm, the second at 6:10pm, and the last at every hour, every five minutes.
I've thought about it, and think I can at least provide "turn block on/off at a given time" and "run program on progblock with argument at given time." That should do for most things. I'll probably put it as Custom Data on the clock's progblock. Something like:
0600 [MyLightGroup] on (groups have [ ] around them)
0600 MyLightBlock off
1200 MyProgBlock run someargument
and maybe add some special commands, like
resetoff / reseton
I'm still not sure why you want to be able to do that!
It might be some time before I get around to this - I've got actual work to do (exciting stuff too - I've just landed a job writing code to help analyse images from the European Mars Rover!)
I like the idea of triggering events at certain times and I'll look into it - might be tricky, though, because of how the API works. I'd have to write a huge amount of code to handle every possible interaction with a block!
Is it possible to make the script updating his self by solar panel just once or by a command, so we don't have to rename the solar panel again to avoid the refresh each day cycle ? :)
Lots of ideas can come with your script !
Like, "at 4:20pm -> toggle Timer"
Or past "6pm -> Off the lights"
etc !
Thanks, have a good day commander! :)