The error is confusing. You are not unauthorized, your request is failing because the api is wrong, theres no /api/calibrate , i think its /api/phprobes/{id}/calibrate (replace id with your phprobe id)
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The error is confusing. You are not unauthorized, your request is failing because the api is wrong, theres no /api/calibrate , i think its /api/phprobes/{id}/calibrate (replace id with your phprobe id)
For the non-existent /api/calibrate behavior, I just cross checked, with 2.4 I am not getting unuathorized error, I'm seeing 404 resource not found error, as expectedThe error is confusing. You are not unauthorized, your request is failing because the api is wrong, theres no /api/calibrate , i think its /api/phprobes/{id}/calibrate (replace id with your phprobe id)
"null" is ok. It does not mean anything is wrong, it means signin was successfull. [] stands for empty list in equipment, i.e. there is no equipment present yet
Time | Emitter | Type | Content |
---|---|---|---|
04/08/2019, 06:57:06 | UI | ERROR | {"error":"json: cannot unmarshal object into Go value of type []hal.Measurement"} | HTTP 400 |
I believe the unmarshal error is due to a typo in the original json example. [/LIST] should not be in the json.Thank you Ranjib,so what is that mean?do i have the right setup for calibration?Where to save the calibration.json. Ask because when i try to calibrate i got error msg.:
Time Emitter Type Content 04/08/2019, 06:57:06 UI ERROR {"error":"json: cannot unmarshal object into Go value of type []hal.Measurement"} | HTTP 400
[/LIST]
[
{"expected":8.21, "observed": -8768},
{"expected":8.12, "observed": -8189}
]
[
{"expected":8.21, "observed": -8768},
{"expected":8.12, "observed": -8189}
]
It can definitely be all on the same pi. Just apply the doser steps to the pi that's already set up.ok i read the guide for dosing pumps ( https://learn.adafruit.com/search?q=reef-pi&view=all )
is there a way for me to incorporate this onto the main reef-pi build rather than create a new build using the pi zero?
thanks
Finally, i spend some time on the pi pwm frequency issue with 2.4 release. There was a nasty bug that i had overlooked, I feel really sorry about the users as 2.4 is was supposed to fix pwm issues on pi. I'll publish a bug fix 2.5 version as soon as possible. probably tonight
Thanks Michael, although i'm enjoying this build I'm coming at it from a complete beginner to electronics so please bear with me.It can definitely be all on the same pi. Just apply the doser steps to the pi that's already set up.
reef-pi can definitely handle temperature and 3 dosing pumps. I'm using 3 dosing pumps and 5 channels of LEDs along with temperature, pH, and 16 outlets all on one reef-pi. I'm going to add 4 more dosing pumps soon.Thanks Michael, although i'm enjoying this build I'm coming at it from a complete beginner to electronics so please bear with me.
I've only got as far as setting up the temperature sensor on a pi 3b+ using the perma proto hat.
Looking at the fritzing diagrams for the power controller and the dosing pumps side by side there doesn't seems to be enough room to fit both ? or am i looking at it wrong (likely)
apologies for the really newb questions.
also can i use 3 dosing pumps instead of the stated 2?
It might help if you start a separate thread for your reef-pi build. That way things won't get lost in the sea of this thread. If you start a thread, feel free to tag me and I can help with specific advice.