Reusing an old android phone

Johnd651

Getting back in after 14+ years
View Badges
Joined
Oct 29, 2019
Messages
4,888
Reaction score
7,052
Location
Upstate NY
Rating - 100%
1   0   0
I have an older android that I would like to use as a display screen for the nano tank. I have little automation, just an inkbird for temp and an AI blade light. I will add a doser in the future.

I wanted to be able to display temp, current lighting %/time, and maybe a calendar that I can put reminders on.

I know with widgets I can achieve the temp and calendar, but the mobius app for the lights does not have any widgets.

I know enough to be dangerous if someone can point me in the right direction. Thoughts on how i can display lighting program?
 
OP
OP
Johnd651

Johnd651

Getting back in after 14+ years
View Badges
Joined
Oct 29, 2019
Messages
4,888
Reaction score
7,052
Location
Upstate NY
Rating - 100%
1   0   0
HA with MQTT? Mobius has MQTT (I believe)
Then look for options for Inkbird integration if you have the wireless model.
I need to do some reading on mqtt. Never seen it before.

Inkbird is just to monitor the temp, and android has a widget for it.
 

HappyFm

Community Member
View Badges
Joined
Dec 4, 2024
Messages
92
Reaction score
93
Location
Ha Noi - Viet Nam
Rating - 0%
0   0   0
Unfortunately, most companies usually do not publicly provide APIs for you to integrate into your automation system (which is why DIY is necessary).

You can either replace or reprogram the Wi-Fi chip in the light—though this might not be a great idea for an expensive light.

Alternatively, you can synchronize with the light’s operating schedule. Typically, a light’s schedule doesn’t change for months or even years. You just need to align the light's schedule with the display on your phone, based on the same time reference. I hope this is helpful for you. Thanks!
Have A Wonderful Good Day GIF by M-150 USA
 
OP
OP
Johnd651

Johnd651

Getting back in after 14+ years
View Badges
Joined
Oct 29, 2019
Messages
4,888
Reaction score
7,052
Location
Upstate NY
Rating - 100%
1   0   0
Unfortunately, most companies usually do not publicly provide APIs for you to integrate into your automation system (which is why DIY is necessary).

You can either replace or reprogram the Wi-Fi chip in the light—though this might not be a great idea for an expensive light.

Alternatively, you can synchronize with the light’s operating schedule. Typically, a light’s schedule doesn’t change for months or even years. You just need to align the light's schedule with the display on your phone, based on the same time reference. I hope this is helpful for you. Thanks!
Have A Wonderful Good Day GIF by M-150 USA
What would I align it against? It makes sense what you're saying.
 

HappyFm

Community Member
View Badges
Joined
Dec 4, 2024
Messages
92
Reaction score
93
Location
Ha Noi - Viet Nam
Rating - 0%
0   0   0
What would I align it against? It makes sense what you're saying.
I think we just need to design software with enough color channels similar to the light and then schedule their display (percentage/time) to sync the time with the current light.

If you’re meticulous, you could integrate a power consumption meter for the light to determine which channels are active without needing to sync the time. :D
 
OP
OP
Johnd651

Johnd651

Getting back in after 14+ years
View Badges
Joined
Oct 29, 2019
Messages
4,888
Reaction score
7,052
Location
Upstate NY
Rating - 100%
1   0   0
I think we just need to design software with enough color channels similar to the light and then schedule their display (percentage/time) to sync the time with the current light.

If you’re meticulous, you could integrate a power consumption meter for the light to determine which channels are active without needing to sync the time. :D
So.. this gave me an idea. I pulled the template off my light to try and decipher the code in the template. It would be interesting to see if we could figure out what the different parts are. Then even mimic their GUI and show the sliders moving as time progresses?

{"id":4189259404,"version":1,"name":"My Template","group":"","brand":"","description1":"","description2":"","imageUrl":"","videoUrl":"","tags":[],"schedules":
[{"intensity":550,"lastIndexUsed":9,"primitiveType":1,"lastCrc":0,"points":
[{"time":679,"flags":3,"data":"EgAAEQAAEAAAAegD"},
{"time":684,"flags":3,"data":"EmUAEWMAEAAAAegD"},
{"time":735,"flags":7,"data":"EmUAEWYAEAAAAegD"},
{"time":797,"flags":1,"data":"EogDEVIDEJIBAegD"},
{"time":935,"flags":1,"data":"EuUDEYQDEOgDAegD"},
{"time":1135,"flags":1,"data":"ErUDEVIDELYDAegD"},
{"time":1265,"flags":1,"data":"EogDEVIDEMIBAegD"},
{"time":1335,"flags":11,"data":"EmYAEWUAEAAAAegD"},
{"time":1396,"flags":3,"data":"EmYAEWUAEAAAAegD"},
{"time":1414,"flags":3,"data":"EgAAEQAAEAAAAegD"}]}]}
 

HappyFm

Community Member
View Badges
Joined
Dec 4, 2024
Messages
92
Reaction score
93
Location
Ha Noi - Viet Nam
Rating - 0%
0   0   0
So.. this gave me an idea. I pulled the template off my light to try and decipher the code in the template. It would be interesting to see if we could figure out what the different parts are. Then even mimic their GUI and show the sliders moving as time progresses?

{"id":4189259404,"version":1,"name":"My Template","group":"","brand":"","description1":"","description2":"","imageUrl":"","videoUrl":"","tags":[],"schedules":
[{"intensity":550,"lastIndexUsed":9,"primitiveType":1,"lastCrc":0,"points":
[{"time":679,"flags":3,"data":"EgAAEQAAEAAAAegD"},
{"time":684,"flags":3,"data":"EmUAEWMAEAAAAegD"},
{"time":735,"flags":7,"data":"EmUAEWYAEAAAAegD"},
{"time":797,"flags":1,"data":"EogDEVIDEJIBAegD"},
{"time":935,"flags":1,"data":"EuUDEYQDEOgDAegD"},
{"time":1135,"flags":1,"data":"ErUDEVIDELYDAegD"},
{"time":1265,"flags":1,"data":"EogDEVIDEMIBAegD"},
{"time":1335,"flags":11,"data":"EmYAEWUAEAAAAegD"},
{"time":1396,"flags":3,"data":"EmYAEWUAEAAAAegD"},
{"time":1414,"flags":3,"data":"EgAAEQAAEAAAAegD"}]}]}
Don't overcomplicate the issue, bro. Since you rarely adjust the lights, just directly look at the UI of the lighting app on your phone, note down the time points and the corresponding brightness levels for each light, and then program it accordingly. The decoding process is actually quite exhausting.
 
OP
OP
Johnd651

Johnd651

Getting back in after 14+ years
View Badges
Joined
Oct 29, 2019
Messages
4,888
Reaction score
7,052
Location
Upstate NY
Rating - 100%
1   0   0
Don't overcomplicate the issue, bro. Since you rarely adjust the lights, just directly look at the UI of the lighting app on your phone, note down the time points and the corresponding brightness levels for each light, and then program it accordingly. The decoding process is actually quite exhausting.
Thoughts on an off the shelf app to try that with?
 

TOP 10 Trending Threads

Back
Top