Stationeers

Stationeers

[F&S] Solar Panel Tracking
39 Comments
dzlockhead 16 Aug, 2024 @ 6:09pm 
Oh strange, for me it was necessary, it didn't work until I set d0 to the sensor
123  [author] 14 Aug, 2024 @ 1:00am 
dzlockhead,

Requirements
1 Daylight Sensor.

IC ports description
D0 Daylight Sensor (Optional not required)

This means that it is not necessary to set the sensor on port D0 with a screwdriver, the IC will detect it automatically in the connected network. (This is sometimes necessary)

About the images, this is what the daylight sensor looked like in 2019.

A lot has changed in 5 years....
dzlockhead 12 Aug, 2024 @ 11:25am 
Yep, I can confirm it still works but the daylight sensor is REQUIRED on D0, unlike what is said in the description. Also the images showing sensor direction should be said Daylight Sensor, NOT a motion sensor as pictured.
123  [author] 10 Aug, 2024 @ 7:43pm 
Tested on latest version 0.2.5116.23239 all work fine.

Error on line 40, means the daylight sensor was not found.

Squama, you can adjust horizintal angle by dialer or in code. Check "Changeable values in IC code" in this page. No need rotate panels, you can place panels as you wish. (But all power outputs must be on the same side)
dzlockhead 29 Jul, 2024 @ 10:04pm 
Same, error on line 40
Artyshock 9 Apr, 2024 @ 9:56pm 
Hi Squama. Try to rotate your solar panel to 180 degrees. so that the power output faces the dawn. fixd for me.
Squama 4 Apr, 2024 @ 10:17am 
hi all, any1 knows why my pannells are ok with the vertical movement but they are rotating in the opposit direction compared to the sun movement?
Icepic 23 Mar, 2024 @ 6:52am 
I keep getting an incorrect argument count on line 40 plz help
Steef 27 Jan, 2024 @ 7:10am 
Fantastic work.
Only improvements I might suggest is to name your registers and maybe put the instructions in comments in the script. A+++
Wayz 26 Dec, 2023 @ 12:02pm 
This was also the only one that worked for me. Thank you!!
Proktor 23 Dec, 2023 @ 11:34pm 
The only worker (from those that I tried). Thank you!
chris-500 23 Dec, 2023 @ 4:21am 
can confirm this one works with the rocket update, thanks for sharing this you saved me from giving up on the game completely
W0lf3y 12 Dec, 2023 @ 8:08pm 
Does this still work with 'Rockets' update?
Digit 8 Jul, 2023 @ 1:53pm 
Все працює добре дякую. All work good th you bro :D
123  [author] 9 Apr, 2023 @ 8:13am 
Tested on 0.2.3920.18842 06/04/2023
I is Mighty 7 Feb, 2023 @ 10:11pm 
I got it to work I'm just an idiot
123  [author] 7 Feb, 2023 @ 7:12am 
[quote=I is Mighty]Might be broken again. Tested on 0.2.3299.16422
Devs almost every patch break IC[/quote]

[quote=Hladow]Still I've got a question, is it possible to make the code itself to batch write to all the lights?[/quote]

Try sb %Prefab Hash% On r1 where %Prefab Hash% is hash of light source, you can check hash via laptop or check wiki.
I is Mighty 7 Feb, 2023 @ 12:15am 
Does this still work as It doesn't seem to move solar panel
Hladow 4 Feb, 2023 @ 12:37am 
Hello. Thank you for this usable work. My solars now make much more power.
Still had some problem with night lights. Looks like it powers only one light of the type. Not batch. And when I tried to chenge 's NSignal On r1' to 'sb NSignal On r1' it flashed an error.
So to make it switch all the lights I pinned NSignal to Memory block instead and make a Batch Writer to write it's setting to all lights. Works good. Still I've got a question, is it possible to make the code itself to batch write to all the lights?
MisterCrow 30 Sep, 2022 @ 3:39pm 
This is fantastic. Award given :)
123  [author] 3 Jun, 2022 @ 9:11pm 
fixed
123  [author] 3 Jun, 2022 @ 3:12pm 
0.2.3299.16422 broken. Fix coming soon.
123  [author] 16 May, 2022 @ 11:35am 
Fixed, tested on 0.2.3036.15111
Soilaq 12 Dec, 2019 @ 10:09am 
Did you ever publish it Kouselny?
UberMacro 29 Sep, 2019 @ 9:02pm 
I have a working remake of this script. Nearly a complete rewrite of the logic, but based on your idea with the same setup and chip count. You mind if I publish it and link back here, or are you updating this?
Delle(DK) 29 Sep, 2019 @ 10:43am 
I am not 100% sure, but i think the script is broken.. I could not get it to work.

I like to recommend you to try this one instead and working 29th september 2019
on the new europa map. About 90% efficient tracking.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1667810555
maximillian 21 Sep, 2019 @ 3:20pm 
Error at line 14 ... ufff
123  [author] 30 Jul, 2019 @ 11:23am 
Confirmed, broken on 0.2.2082.9494

Tracking math work fine, broken batch writer selection (at now random, vertical changed to horizontal etc) and auto-parking.

Error at line 17 mean: You not select a daylight sensor on D0
Minefreak6633 29 Jul, 2019 @ 12:21pm 
i got it to work but after midday they invert and start to look away form the sun
BigBen2k 28 Jul, 2019 @ 4:33pm 
Nope, couldn't get it to work. Moon, on dedicated server.
[TUG]Bonbonkocher 28 Jul, 2019 @ 2:36pm 
BK324 No, is Code for PC and IC Housing
Bryan 28 Jul, 2019 @ 1:42pm 
so is this a mod?
Phraxas 25 Jun, 2019 @ 4:31am 
Error unknown at line 17: "bgt r0 97 20"
Alcoholic.iz.Moscow 24 May, 2019 @ 11:44am 
помоги написать программы ))) или ты уже не играешь
Tipsy The Cat 27 Apr, 2019 @ 8:45am 
Ok, I figured it out. it works BUT not on the beta branch. Sorry for the confusion.
Tipsy The Cat 27 Apr, 2019 @ 8:19am 
I do have to give credit to you. This is the most simple and easy to understand.
Tipsy The Cat 27 Apr, 2019 @ 6:53am 
yep
123  [author] 26 Apr, 2019 @ 3:17pm 
You place circuit in one cube?
Tipsy The Cat 26 Apr, 2019 @ 1:31pm 
it doesent work just keeps spining slowly