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

Same result n the mobile also, I'll switch the modem off and on, may help?

That didn't work either.
Not sure if that will help if the modem is blocking .local domains than restart wont fix it. From Pi's perspective you have everything properly configured
 
What does this message mean?

{"error":"stats for id: '1' not found"} | HTTP 404

Seems related to one of the temperature sensors.
It means usage data for something (ph or temperature or ato) with ID "1" is not available. It can happen when you just create a new ato or ph (since it takes some time to get the data), or if your dashboard is configured with a non existent entity (now deleted ph or ato or temp sensor etc)
 
Will the PH monitoring work on any Analogue PH board? I have one kicking around, I couldn't get it working on an Arduino, I believe it needed a pull up or pull down resistor.
I dont think so. Ph sensor requires galvanic isolation..
 
I am struggling with the PCA9685. I wired up everything I believe correctly. but the PCA9685 doesn't appear to be sending any PWM signals. I switched out the pin to use the pi PWM and it worked! So I have my pumps wired correctly. Any ideas what I am doing wrong on the PCA9685? I have pi pin 3 wired to SDA, pi pin 5 wired to SCL, VCC to 5v, GND to ground, and the light on the PCA board is lighting up. In addition I have a temperature sensor enabled and it is reporting temperature just fine (so I2C appears to be working). What is the best way to debug the issue? Thanks!
 
I am struggling with the PCA9685. I wired up everything I believe correctly. but the PCA9685 doesn't appear to be sending any PWM signals. I switched out the pin to use the pi PWM and it worked! So I have my pumps wired correctly. Any ideas what I am doing wrong on the PCA9685? I have pi pin 3 wired to SDA, pi pin 5 wired to SCL, VCC to 5v, GND to ground, and the light on the PCA board is lighting up. In addition I have a temperature sensor enabled and it is reporting temperature just fine (so I2C appears to be working). What is the best way to debug the issue? Thanks!

Is pca9685 turned on under settings and configuration there should be a check box. You will probably need to reboot after you check it.
 
I am struggling with the PCA9685. I wired up everything I believe correctly. but the PCA9685 doesn't appear to be sending any PWM signals. I switched out the pin to use the pi PWM and it worked! So I have my pumps wired correctly. Any ideas what I am doing wrong on the PCA9685? I have pi pin 3 wired to SDA, pi pin 5 wired to SCL, VCC to 5v, GND to ground, and the light on the PCA board is lighting up. In addition I have a temperature sensor enabled and it is reporting temperature just fine (so I2C appears to be working). What is the best way to debug the issue? Thanks!
This could be related to the pwm bug i found on the pca9685. If your frequency is stuck at 1500hz it may be too fast for what u are doing. Try looking to see if voltage changes on the pwm pins as you change the duty cycle...if it does, then the pca is doing its job.
 
Hmm, I tried both of those. I did not have the pca9658 enabled, but that didn't seem to change anything. I attempted to measure dc voltage across the pwm pin using a voltmeter and it stayed 0.

Tonight I am going to try changing the wiring to hook the pca pwm pins to a bread board with LEDs to see if I am getting anything coming through it.
 
Hmm, I tried both of those. I did not have the pca9658 enabled, but that didn't seem to change anything. I attempted to measure dc voltage across the pwm pin using a voltmeter and it stayed 0.

Tonight I am going to try changing the wiring to hook the pca pwm pins to a bread board with LEDs to see if I am getting anything coming through it.
Please start your own build thread, it will help us getting all the relevant data at one place, it’s likely to get lost in this giant thread. Post your build image , circuit details etc in that thread
 
Im still wondering why it didnt work in mobile

Really baffled me, I spent a good 4 hours trying to figure it out and nada, anyway I've set the router to a static IP address for the pi so now it'll come up without issue on my mobile browser. I use android are you using an iPhone @Ranjib ?
 
Really baffled me, I spent a good 4 hours trying to figure it out and nada, anyway I've set the router to a static IP address for the pi so now it'll come up without issue on my mobile browser. I use android are you using an iPhone @Ranjib ?

What kind of router are you using, I just always register dhcp addresses in dns, lots of ways to do things, if you give me the model of your router I will take a peak and see what your options are.
 
What kind of router are you using, I just always register dhcp addresses in dns, lots of ways to do things, if you give me the model of your router I will take a peak and see what your options are.
Im using an asus router and I dont get anything come up when I use the http://myreefpi.local either, but if i drop the .local, and just use http://myreefpi it works...maybe try dropping the .local?

May be how your router handles local dns queries
 
On my network, I have to use http://reef-pi.lan from my windows machines, but reef-pi.local from the Mac...

The local aliases depend on a lot of variables to make things work, and it may not work correctly in some cases - good tip on the .lan suffix for Windows!

Even though its not very friendly and subject to changes, you can always use the the IP address of the Pi directly (which you can set to static so it doesn't change).
 
The local aliases depend on a lot of variables to make things work, and it may not work correctly in some cases - good tip on the .lan suffix for Windows!

Even though its not very friendly and subject to changes, you can always use the the IP address of the Pi directly (which you can set to static so it doesn't change).

Yeah I was trying to think of something easy but with so many router types just not sure there is anything that is super easy. If running a open source router there are a lot more options that are pretty easy.
 
Yeah I was trying to think of something easy but with so many router types just not sure there is anything that is super easy. If running a open source router there are a lot more options that are pretty easy.

I tell dhcpd to do DNS registrations. Works great except for my TV which announces its self as `localhost.localdomain`. o_O
 
What kind of router are you using, I just always register dhcp addresses in dns, lots of ways to do things, if you give me the model of your router I will take a peak and see what your options are.

The router is a dlink dsl-2750u.
 
The local aliases depend on a lot of variables to make things work, and it may not work correctly in some cases - good tip on the .lan suffix for Windows!

Even though its not very friendly and subject to changes, you can always use the the IP address of the Pi directly (which you can set to static so it doesn't change).

I think i may have to work on this part of the documentation. DNS resolution is not a common thing for everyone.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top