10-17-2021, 01:28 PM
The idea is a user doesn't need to know what a GPIO is, just tell a port what to do and everything updates elsewhere.
The function AC Outlet and DC port are identical systems, if you change DC 4 and 5 to a DC port they will move from outlets to dc ports but do the same thing. When you make schedules you'll see they aren't available as AC anymore, you would select DC when setting up the schedules and the ports would show. If you do reassign them delete the AC schedules first then create them as DC schedules. Later there will be an option to set speed on DC ports that's why they are different systems as well. The DC ports are driven by the pca9685 so the output can be adjusted.
Today you setup the extra 1-wire buses for DS18B20 the same as reef-pi. You need to edit the /boot/config.txt file on the Pi and change those lines.
Here's some commands to do that.
sudo nano /boot/config.txt
When it opens find the following line.
dtoverlay=w1-gpio
Change that line to this to comment it out.
# dtoverlay=w1-gpio
Add the following two lines under it.
dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=17
After you make changes press Ctrl + S to save it and then Ctrl + X to exit.
Then run the command
sudo reboot
Later when you click on a sensor port on configure ports screen the DS18B20 will be an option and it will automate what you're doing above.
I'll save the RTC for another day as the software doesn't support it yet. It will come soon though and easy to add.
For the pH you need to go to database today. Go to the "probes" table, there will be one record, change the "plugged" field to 0. You may need to refresh the dashboard. If you double click any records field you can edit inline.
For the DS18B20, make sure Sensor Port 1 on the configure ports screen is disabled.
The function AC Outlet and DC port are identical systems, if you change DC 4 and 5 to a DC port they will move from outlets to dc ports but do the same thing. When you make schedules you'll see they aren't available as AC anymore, you would select DC when setting up the schedules and the ports would show. If you do reassign them delete the AC schedules first then create them as DC schedules. Later there will be an option to set speed on DC ports that's why they are different systems as well. The DC ports are driven by the pca9685 so the output can be adjusted.
Today you setup the extra 1-wire buses for DS18B20 the same as reef-pi. You need to edit the /boot/config.txt file on the Pi and change those lines.
Here's some commands to do that.
sudo nano /boot/config.txt
When it opens find the following line.
dtoverlay=w1-gpio
Change that line to this to comment it out.
# dtoverlay=w1-gpio
Add the following two lines under it.
dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=17
After you make changes press Ctrl + S to save it and then Ctrl + X to exit.
Then run the command
sudo reboot
Later when you click on a sensor port on configure ports screen the DS18B20 will be an option and it will automate what you're doing above.
I'll save the RTC for another day as the software doesn't support it yet. It will come soon though and easy to add.
For the pH you need to go to database today. Go to the "probes" table, there will be one record, change the "plugged" field to 0. You may need to refresh the dashboard. If you double click any records field you can edit inline.
For the DS18B20, make sure Sensor Port 1 on the configure ports screen is disabled.