reef-pi :: An opensource reef tank controller based on Raspberry Pi.

ChrisNH

Active Member
View Badges
Joined
Mar 21, 2019
Messages
306
Reaction score
251
Rating - 0%
0   0   0
I am setting up my reef-pi for access externally while I am camping next week. I have it all set up using port forwarding but I would like to configure it for https. So, forward to 443 instead of 80. I am using an arbitrary port as my trigger.

It is not clear what I should be entering in Settings->Address to make this happen and I don't want to experiment with the field and lose access now that I have everything working!

So, assuming I have a pi running reef-pi at 192.168.0.xxx, would I select https and enter 192.168.0.xxx:443 in the field?
 

Cristian2281

New Member
View Badges
Joined
Jul 26, 2020
Messages
10
Reaction score
6
Location
UK
Rating - 0%
0   0   0
First time using reef-pi v3.4 , I'm getting this error on GPIO pin 7 (Socket 8 - refugium light in the picture) and GPIO pin 8 (Socket 7 -Ato ). The rest of the sockets, everything else is running as expected .How can I fix this?
error.jpg
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
First time using reef-pi v3.4 , I'm getting this error on GPIO pin 7 (Socket 8 - refugium light in the picture) and GPIO pin 8 (Socket 7 -Ato ). The rest of the sockets, everything else is running as expected .How can I fix this?
error.jpg
This seems to be at a lower level than reef-pi. It looks like those GPIO were not exported. What else do you have running on this rpi? I'm just guessing, but something else might have claimed those gpio.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
I see a few builds with amazon links, anyone done a build in Canada with amazon Canada links ? Seems some
Of the parts used are not available. Would love to tackle this project, but my electrical skills are not up to par in finding similar parts with a confidence that they will work
You might get better results by specifying which parts need alternative recommendations.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
First time using reef-pi v3.4 , I'm getting this error on GPIO pin 7 (Socket 8 - refugium light in the picture) and GPIO pin 8 (Socket 7 -Ato ). The rest of the sockets, everything else is running as expected .How can I fix this?
error.jpg
It could also be SPI0 is enabled. Make sure SPI is not enabled in raspi-config.
 

Cristian2281

New Member
View Badges
Joined
Jul 26, 2020
Messages
10
Reaction score
6
Location
UK
Rating - 0%
0   0   0
This seems to be at a lower level than reef-pi. It looks like those GPIO were not exported. What else do you have running on this rpi? I'm just guessing, but something else might have claimed those gpio.
Thanks for answering, I have nothing else running. Just installed the OS, added ssh access and installed reef-pi. I have disabled spi but now I have the gpio 14 (socket 1-pump) just switching the relay on/off continuously. Luckily I have it wired as NC so I was able to turn the pi off and have the pump running.
 
Last edited:

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Thanks for answering, I have nothing else running. Just installed the OS, added ssh access and installed reef-pi. I have disabled spi but now I have the gpio 14 (socket 1-pump) just switching the relay on/off continuously. Luckily I have it wired as NC so I was able to turn the pi off and have the pump running.

I came across that, it seems the Pi is doing something with that pin causing it to go low and high, if you assign it as a piece of equipment it should stop as reef-pi will control it at that point. When the Pi starts that pin will always switch once until reef-pi actually gets running so if that's a problem use a different pin.
 

Cristian2281

New Member
View Badges
Joined
Jul 26, 2020
Messages
10
Reaction score
6
Location
UK
Rating - 0%
0   0   0
I came across that, it seems the Pi is doing something with that pin causing it to go low and high, if you assign it as a piece of equipment it should stop as reef-pi will control it at that point. When the Pi starts that pin will always switch once until reef-pi actually gets running so if that's a problem use a different pin.
I think I already had it assigned, I’ll check that. If it is still acting up I might just reinstall the os and reef-pi .my setup is fairly simple atm, just relay control and a button to trigger a macro for feeding time.
 

Mikeneedsahobby

Well-Known Member
View Badges
Joined
Sep 16, 2018
Messages
516
Reaction score
916
Rating - 0%
0   0   0
I am having an issue with a timer triggering a macro. I am on 3.3.1. I left a message with details in an existing issue post from May.

I can get a timer to start a simple macro, but when I try to have a timer trigger my real macro nothing happens.

If I missed something explaining this here let me know. Maybe I missed it.

Thanks,
Mike
 

ChrisNH

Active Member
View Badges
Joined
Mar 21, 2019
Messages
306
Reaction score
251
Rating - 0%
0   0   0
Concerning the address field..

assuming I have a pi running reef-pi at 192.168.0.xxx, would I select https and enter 192.168.0.xxx:443 in the field?

Can I get some help with this? I would really like to access my reef pi via https when I am travelling.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Concerning the address field..



Can I get some help with this? I would really like to access my reef pi via https when I am travelling.
Use ip:443 in the address field (in reef-pi ui ).
 

ChrisNH

Active Member
View Badges
Joined
Mar 21, 2019
Messages
306
Reaction score
251
Rating - 0%
0   0   0
Use ip:443 in the address field (in reef-pi ui ).

Thank you, that worked. It seemed like what it wanted but I didn't want to have to reset my reef-pi this close to travelling if I screwed it up. Hands off the pi now!

What made it weird to me is that I thought it should already know what the IP address is but I guess there could be is more than one connection and I could specify using this field.
 

Smin

New Member
View Badges
Joined
Apr 25, 2019
Messages
23
Reaction score
19
Rating - 0%
0   0   0
So I've been doing some playing.
If I monitor errors and restart reef pi I get the following
Code:
Aug 06 18:15:04 homecontrol systemd[1]: Stopped raspberry pi based reef tank controller.
Aug 06 18:15:04 homecontrol systemd[1]: Started raspberry pi based reef tank controller.
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: failed to initialize drivers. Error: can't build hal pin 6: embd: your host ": ARMv7 Processor rev 3 (v7l)" is not supported at this moment. request support at https://github.com/kidoman/embd/issues
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: temperature
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: lightings
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Cool White Channel: Channel-1 Value: 2
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 2  at channel: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 0 on jack 1 has no driver: driver 11 for jack Cool White not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Warm White Channel: Channel-1 Value: 7.763657143074572
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 7.763657143074572  at channel: 1
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 1 on jack 2 has no driver: driver 11 for jack Warm White not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Very Warm White Channel: Channel-1 Value: 8.84254682066007
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 8.84254682066007  at channel: 2
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 2 on jack 3 has no driver: driver 11 for jack Very Warm White not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Red Channel: Channel-1 Value: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 0  at channel: 3
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 3 on jack 4 has no driver: driver 11 for jack Red not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Green Channel: Channel-1 Value: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 0  at channel: 4
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 4 on jack 5 has no driver: driver 11 for jack Green not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: macro
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Blue Channel: Channel-1 Value: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 0  at channel: 5
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 5 on jack 6 has no driver: driver 11 for jack Blue not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: timers
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: system
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 INFO: equipment subsystem: Finished syncing all equipment
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: equipment
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: ato
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 reef-pi is up and running

If I enable dev mode in the gui the error on the gui under connectors goes away and it shows the connectors, there are no logged errors, however the lights don't come on!
Code:
Aug 06 18:16:21 homecontrol systemd[1]: Stopped raspberry pi based reef tank controller.
Aug 06 18:16:21 homecontrol systemd[1]: Started raspberry pi based reef tank controller.
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 RPI Driver using DEV Mode
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 driver-subsystem: registering driver id: rpi Name: Raspberry Pi
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 driver-subsystem: registering driver id: 11 Name: PCA9685
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: ato
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: temperature
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: lightings
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Cool White Channel: Channel-1 Value: 2
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 2  at channel: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  81
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Warm White Channel: Channel-1 Value: 7.99876716342604
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 7.99876716342604  at channel: 1
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  327
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Very Warm White Channel: Channel-1 Value: 9.424655217591969
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 9.424655217591969  at channel: 2
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  385
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Red Channel: Channel-1 Value: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 0  at channel: 3
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  4096
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Green Channel: Channel-1 Value: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 0  at channel: 4
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  4096
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Blue Channel: Channel-1 Value: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 0  at channel: 5
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  4096
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: macro
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: timers
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: system
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 INFO: equipment subsystem: Finished syncing all equipment
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: equipment
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 reef-pi is up and running

I'm guessing the following driver is to blame
ERROR: failed to initialize drivers. Error: can't build hal pin 6: embd: your host ": ARMv7 Processor rev 3 (v7l)" is not supported at this moment. request support at https://github.com/kidoman/embd/issues
Though I'm not sure it helps us resolve it!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Thank you, that worked. It seemed like what it wanted but I didn't want to have to reset my reef-pi this close to travelling if I screwed it up. Hands off the pi now!

What made it weird to me is that I thought it should already know what the IP address is but I guess there could be is more than one connection and I could specify using this field.
I prefer to put address as 0.0.0.0, which instructs Linux to bind the web server in all ip, so even if your pi pi changes, it will work. Address 127.0.0.1 does the opposite and only local things Running on the pi itself can access , I.e. no access even from home network
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
So I've been doing some playing.
If I monitor errors and restart reef pi I get the following
Code:
Aug 06 18:15:04 homecontrol systemd[1]: Stopped raspberry pi based reef tank controller.
Aug 06 18:15:04 homecontrol systemd[1]: Started raspberry pi based reef tank controller.
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: failed to initialize drivers. Error: can't build hal pin 6: embd: your host ": ARMv7 Processor rev 3 (v7l)" is not supported at this moment. request support at https://github.com/kidoman/embd/issues
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: temperature
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: lightings
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Cool White Channel: Channel-1 Value: 2
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 2  at channel: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 0 on jack 1 has no driver: driver 11 for jack Cool White not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Warm White Channel: Channel-1 Value: 7.763657143074572
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 7.763657143074572  at channel: 1
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 1 on jack 2 has no driver: driver 11 for jack Warm White not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Very Warm White Channel: Channel-1 Value: 8.84254682066007
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 8.84254682066007  at channel: 2
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 2 on jack 3 has no driver: driver 11 for jack Very Warm White not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Red Channel: Channel-1 Value: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 0  at channel: 3
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 3 on jack 4 has no driver: driver 11 for jack Red not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Green Channel: Channel-1 Value: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 0  at channel: 4
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 4 on jack 5 has no driver: driver 11 for jack Green not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: macro
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting subsystem: Setting Light:  Blue Channel: Channel-1 Value: 0
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 lighting-subsystem: Setting PWM value: 0  at channel: 5
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 ERROR: lighting-subsystem: Failed to set pwm value. Error: pin 5 on jack 6 has no driver: driver 11 for jack Blue not found: driver by id 11 not available
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: timers
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: system
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 INFO: equipment subsystem: Finished syncing all equipment
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: equipment
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 Successfully started subsystem: ato
Aug 06 18:15:04 homecontrol reef-pi[1012]: 2020/08/06 18:15:04 reef-pi is up and running

If I enable dev mode in the gui the error on the gui under connectors goes away and it shows the connectors, there are no logged errors, however the lights don't come on!
Code:
Aug 06 18:16:21 homecontrol systemd[1]: Stopped raspberry pi based reef tank controller.
Aug 06 18:16:21 homecontrol systemd[1]: Started raspberry pi based reef tank controller.
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 RPI Driver using DEV Mode
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 driver-subsystem: registering driver id: rpi Name: Raspberry Pi
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 driver-subsystem: registering driver id: 11 Name: PCA9685
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: ato
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: temperature
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: lightings
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Cool White Channel: Channel-1 Value: 2
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 2  at channel: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  81
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Warm White Channel: Channel-1 Value: 7.99876716342604
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 7.99876716342604  at channel: 1
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  327
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Very Warm White Channel: Channel-1 Value: 9.424655217591969
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 9.424655217591969  at channel: 2
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  385
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Red Channel: Channel-1 Value: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 0  at channel: 3
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  4096
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Green Channel: Channel-1 Value: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 0  at channel: 4
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  4096
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting subsystem: Setting Light:  Blue Channel: Channel-1 Value: 0
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 lighting-subsystem: Setting PWM value: 0  at channel: 5
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 onTime  0  offTime  4096
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: macro
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: timers
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: system
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 INFO: equipment subsystem: Finished syncing all equipment
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 Successfully started subsystem: equipment
Aug 06 18:16:21 homecontrol reef-pi[1058]: 2020/08/06 18:16:21 reef-pi is up and running

I'm guessing the following driver is to blame
ERROR: failed to initialize drivers. Error: can't build hal pin 6: embd: your host ": ARMv7 Processor rev 3 (v7l)" is not supported at this moment. request support at https://github.com/kidoman/embd/issues
Though I'm not sure it helps us resolve it!
Are you using pi 4 ?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yes, @Ranjib it's a pi4
Kernel 4.9 introduced a change thats causing the cpu detection plumbing in one of reef-pi dependency. This bug was discovered relatively recently, I am in process of patching it right now. Will ship with the fix (hopefully its the same bug) this weekend. Hang tight.

@Michael Lane , let me know if you have anything in mind that i should look out for the release
 

Cristian2281

New Member
View Badges
Joined
Jul 26, 2020
Messages
10
Reaction score
6
Location
UK
Rating - 0%
0   0   0
I have installed reef-pi using this guide here . However I cannot start ntp service with sudo systemctl start ntp.service and I suspect that’s the reason why I cannot use timers to trigger macros. Just looking to have some equipment off during the night. Everything else is working as expected. Is there any other way to start that service via SSH?
 

TOP 10 Trending Threads

Back
Top
Home
Post thread…
Market
What's new