AquaPi - An open-souce Aquarium Controller

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
Ah - After a restart, it showed up. THe grouping is different than Temp1, so I will look into that.

1739814750195.png
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
packages:
__TheRealFalseReality.ezo_pmp_blue: github://TheRealFalseReality/aquapi/common/ezo_pmp_blue.yaml
__TheRealFalseReality.ezo_pmp_orange: github://TheRealFalseReality/aquapi/common/ezo_pmp_orange.yaml
__TheRealFalseReality.ezo_pmp_yellow: github://TheRealFalseReality/aquapi/common/ezo_pmp_yellow.yaml
__TheRealFalseReality.ezo_commands: github://TheRealFalseReality/aquapi/common/ezo_commands.yaml

The ezo_commands.yaml will add 5 buttons to the AquaPi to change the address to my pre-defined addresses I use when I assemble these myself. You can also use actions in HA to manually change these adresses as mentioned above.

I thought I read this prior on one of the posts but cannot locate it. The "Yellow" package is not a valid file. I will look around more. I checked the YAML and location and all looks good, but I am missing something.

packages: [source /config/esphome/aquapi.yaml:165]
TheRealFalseReality.aquapi: github://TheRealFalseReality/aquapi/aquapi_config.yaml@main
TheRealFalseReality.ezo_pmp_blue: github://TheRealFalseReality/aquapi/common/ezo_pmp_blue.yaml
TheRealFalseReality.ezo_pmp_orange: github://TheRealFalseReality/aquapi/common/ezo_pmp_orange.yaml

Failed to load packages. common/ezo_pmp_yellow.yaml is not a valid YAML file. Please check the file contents.
mapping values are not allowed here
in "/data/packages/95e4fc75/common/ezo_pmp_yellow.yaml", line 183, column 17.

TheRealFalseReality.ezo_pmp_yellow: github://TheRealFalseReality/aquapi/common/ezo_pmp_yellow.yaml
TheRealFalseReality.ezo_commands: github://TheRealFalseReality/aquapi/common/ezo_commands.yaml

-------------------------------UPDATE_______________

I commented lines out and have determined that the compiler does not like any of the pump files. The error is the exact same per file for each pump color, being Line 183 Col 17.
 
Last edited:
OP
OP
TheFalseReality

TheFalseReality

Active Member
View Badges
Joined
Feb 3, 2024
Messages
125
Reaction score
94
Location
Tallahassee
Rating - 0%
0   0   0
I thought I read this prior on one of the posts but cannot locate it. The "Yellow" package is not a valid file. I will look around more. I checked the YAML and location and all looks good, but I am missing something.

packages: [source /config/esphome/aquapi.yaml:165]
TheRealFalseReality.aquapi: github://TheRealFalseReality/aquapi/aquapi_config.yaml@main
TheRealFalseReality.ezo_pmp_blue: github://TheRealFalseReality/aquapi/common/ezo_pmp_blue.yaml
TheRealFalseReality.ezo_pmp_orange: github://TheRealFalseReality/aquapi/common/ezo_pmp_orange.yaml

Failed to load packages. common/ezo_pmp_yellow.yaml is not a valid YAML file. Please check the file contents.
mapping values are not allowed here
in "/data/packages/95e4fc75/common/ezo_pmp_yellow.yaml", line 183, column 17.

TheRealFalseReality.ezo_pmp_yellow: github://TheRealFalseReality/aquapi/common/ezo_pmp_yellow.yaml
TheRealFalseReality.ezo_commands: github://TheRealFalseReality/aquapi/common/ezo_commands.yaml

-------------------------------UPDATE_______________

I commented lines out and have determined that the compiler does not like any of the pump files. The error is the exact same per file for each pump color, being Line 183 Col 17.
Woops! Looks like a sorting_group_weight error, I didn't make these unique for each pump, should be fixed now!
 
OP
OP
TheFalseReality

TheFalseReality

Active Member
View Badges
Joined
Feb 3, 2024
Messages
125
Reaction score
94
Location
Tallahassee
Rating - 0%
0   0   0
So I wanted to test a way to share my Aquarium Dashboards for not only inspiration, but possibly as a sales point and/or at least a great Demonstration, especially if fully interactive, with safeguards. Would you all want to take a look, give it a test drive, maybe testing out any security vulnerabilities?

AquaPi Dashboard
User: AquaPi
Pass: aquapi
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
Woops! Looks like a sorting_group_weight error, I didn't make these unique for each pump, should be fixed now!
Excellent! I will give it a go and let you know how it works out. My build is progressing and I will be losing is my channel soon. I will link it here.

Thanks for your support!
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
So I wanted to test a way to share my Aquarium Dashboards for not only inspiration, but possibly as a sales point and/or at least a great Demonstration, especially if fully interactive, with safeguards. Would you all want to take a look, give it a test drive, maybe testing out any security vulnerabilities?

AquaPi Dashboard
User: AquaPi
Pass: aquapi
Nice work - If you have time, provide a list of the cards you have used in the sample GUI.
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
So I wanted to test a way to share my Aquarium Dashboards for not only inspiration, but possibly as a sales point and/or at least a great Demonstration, especially if fully interactive, with safeguards. Would you all want to take a look, give it a test drive, maybe testing out any security vulnerabilities?

AquaPi Dashboard
User: AquaPi
Pass: aquapi
It would be great if you can post your Sankey Chart Card YAML. :)
 
OP
OP
TheFalseReality

TheFalseReality

Active Member
View Badges
Joined
Feb 3, 2024
Messages
125
Reaction score
94
Location
Tallahassee
Rating - 0%
0   0   0
Nice work - If you have time, provide a list of the cards you have used in the sample GUI.
That will be quite a lot of work, but maybe upon request I can. That Sanket chart, for example, is difficult, as it requires another integration called PowerCalc. It's a lot for SOME cards, but I can start sometime....
 

strich

Active Member
View Badges
Joined
Feb 28, 2024
Messages
353
Reaction score
518
Location
Queensland, Australia
Rating - 0%
0   0   0
So I wanted to test a way to share my Aquarium Dashboards for not only inspiration, but possibly as a sales point and/or at least a great Demonstration, especially if fully interactive, with safeguards. Would you all want to take a look, give it a test drive, maybe testing out any security vulnerabilities?

AquaPi Dashboard
User: AquaPi
Pass: aquapi

I would recommend being careful with public-facing stuff like this. Even if there are no security holes via exploits, consider what would happen if someone decides to DDoS it and cause whatever service is running the dashboard to lock up. Not sure how the software stack you've got runs, but if the dashboard is served by the same process that controls your tank then an attacker has a way to essentially disable your controller.

That said, I agree it's a great idea. If the dashboard is a separate process to everything important I think it'd be amazing to view other people's tank stats!
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
That will be quite a lot of work, but maybe upon request I can. That Sanket chart, for example, is difficult, as it requires another integration called PowerCalc. It's a lot for SOME cards, but I can start sometime....
Maybe just share your card types and not the configuration. Anyone who invests in your board already needs to be very acquainted with Home Assistant. If users understand which cards you have used, that would provide a huge head start.
Back to the pricing discussion; at your price point, you need to provide at least a basic interface so that something works out of the box.
 
OP
OP
TheFalseReality

TheFalseReality

Active Member
View Badges
Joined
Feb 3, 2024
Messages
125
Reaction score
94
Location
Tallahassee
Rating - 0%
0   0   0
I would recommend being careful with public-facing stuff like this. Even if there are no security holes via exploits, consider what would happen if someone decides to DDoS it and cause whatever service is running the dashboard to lock up. Not sure how the software stack you've got runs, but if the dashboard is served by the same process that controls your tank then an attacker has a way to essentially disable your controller.

That said, I agree it's a great idea. If the dashboard is a separate process to everything important I think it'd be amazing to view other people's tank stats!
Right now, ALL the controls are disabled, the user cannot change anything just observe. Yes, I have thought of that and was fearful. I do have a few RPis laying around, so I may just make one into a separate HA instance JUST for the Demo. Just I think right now everything is restricted and no controls are exposed, but it is still possible I think.
 
OP
OP
TheFalseReality

TheFalseReality

Active Member
View Badges
Joined
Feb 3, 2024
Messages
125
Reaction score
94
Location
Tallahassee
Rating - 0%
0   0   0
Maybe just share your card types and not the configuration. Anyone who invests in your board already needs to be very acquainted with Home Assistant. If users understand which cards you have used, that would provide a huge head start.
Back to the pricing discussion; at your price point, you need to provide at least a basic interface so that something works out of the box.
Technically HA does have an Auto Dashboard out of the box. I can't do my own dashboard in HA. I would have to install HA, go thru the onboarding, and create everything. Also, the AquaPi gets unique entity IDs (due the MAC address addition for multiple AquaPis), so every set up would need to be specific to each AquaPi. I cannot do this as I do not want to go thru the onboarding on the Users behalf and deliver a modified HA. I think the best I can do is share what I got and let the users decide. Also, a lot of my cards require HACS and a lot of other additional stuff, so it would be a lot to do for EVERY HA budle I sold. I could make a basic one, but then so could you and the HA Auto Dashboard. Plus, if you already have HA, there is nothing I can do to create a dashboard for you other than sharing what I got. I wish there was a way to share dashboards easily. I haven't found that out yet. But I can start sharing some code.
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
Technically HA does have an Auto Dashboard out of the box. I can't do my own dashboard in HA. I would have to install HA, go thru the onboarding, and create everything. Also, the AquaPi gets unique entity IDs (due the MAC address addition for multiple AquaPis), so every set up would need to be specific to each AquaPi. I cannot do this as I do not want to go thru the onboarding on the Users behalf and deliver a modified HA. I think the best I can do is share what I got and let the users decide. Also, a lot of my cards require HACS and a lot of other additional stuff, so it would be a lot to do for EVERY HA budle I sold. I could make a basic one, but then so could you and the HA Auto Dashboard. Plus, if you already have HA, there is nothing I can do to create a dashboard for you other than sharing what I got. I wish there was a way to share dashboards easily. I haven't found that out yet. But I can start sharing some code.
I agree. Maybe the best to do is provide a very basic WIKI to setup something like a Temperature Graph or Heater control with some photos and links. What you are fighting is the highly customizable nature of HA. Everything can be accomplished in many different ways.

I will post what I have done later today in my tank build thread. I will link it here or anyone can link to it via my profile. I may start a separate thread just for the AquaPi automation build to keep it separate.
 

daveCB

Community Member
View Badges
Joined
Nov 5, 2013
Messages
69
Reaction score
85
Location
Mays Landing, NJ
Rating - 0%
0   0   0
Right now, ALL the controls are disabled, the user cannot change anything just observe. Yes, I have thought of that and was fearful. I do have a few RPis laying around, so I may just make one into a separate HA instance JUST for the Demo. Just I think right now everything is restricted and no controls are exposed, but it is still possible I think.
I would highly recommend a Dev HA instance. Also, be mindful of the tank camera shot being live. When I was in looking at the interface last evening, you can see through the tank to the room on the other side with Dinner prep ongoing. :grimacing-face: Just an FYI.
 

TOP 10 Trending Threads

WHAT WAS THE REASON FOR THE MOST RECENT FISH PASSING IN YOUR TANK? WHAT DID YOU LEARN?

  • Suspected natural causes/Advanced age.

    Votes: 1 8.3%
  • Illness/Disease.

    Votes: 2 16.7%
  • Environmental Incompatibility/Parameter Issues.

    Votes: 0 0.0%
  • Prey for another reef inhabitant.

    Votes: 0 0.0%
  • Disappearance - Presumed as passed.

    Votes: 3 25.0%
  • Jumping out of the tank.

    Votes: 2 16.7%
  • Fish aggression from other reef inhabitants.

    Votes: 2 16.7%
  • Equipment Failure.

    Votes: 0 0.0%
  • Other (please explain).

    Votes: 2 16.7%
Back
Top