danielweidman / pixmob-ir-reverse-engineering

Hacking the PixMob infrared (and now also RF!) protocol to enable control of PixMob wristbands at home.
MIT License
746 stars 49 forks source link

Keep leds on after command finishes #41

Open enyarendon opened 1 year ago

enyarendon commented 1 year ago

Hi, is there a command we can send to keep the leds on with a specific color forever?

BjarneJensen commented 1 year ago

My solution to get a permanent solid color is to send a solid color command, followed by a permanent fade command: for instance:

solid_green_60:[1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1]
followed by 
permanent_fade_green:[1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1]

It should then fade from green to green, but the fade isn't really detectable. If you don't mind the fade, the second code should stay on on its own, fading in and out. I dont't have a list of other colors at the moment, but you can find more by loading these into bit flippr or brute force. If you put the battery tab in, it will reset the first part and you'll be left with just the fade in my experience.

canonborn commented 12 months ago

@BjarneJensen this worked great!!! how did you find the respective codes for "solid_green_60" and "permanent_fade_green"? I want now to be able to set every color. How do you find them by brute force?

theimpossibleheir commented 1 month ago

Hello. I just came across with shmmr in this website. https://beta.shmmr.app/register

I made my own shmmr device following all the instructions.

Screenshot 2024-07-23 172137 Screenshot 2024-07-23 172206 Screenshot 2024-07-23 172232 Screenshot 2024-07-23 172253 Screenshot 2024-08-07 004512

uploading this arduino "into" file to the board. it does work ShmmrTransmitterFirmware_v1_2 (1).zip

MY PROBLEM IS, IT ONLY FLASHES ONE COLOR PERSISTENTLY LIKE THE COLOR BLUE OR GREEN OR RED OR WHITE.

Can someone make a revision to the shmmr arduino "into" file to have loop effect continuely with all the colors since i don't really know how to do it? Screenshot 2024-08-07 005047 Screenshot 2024-08-07 005149

https://github.com/user-attachments/assets/8d08a191-d264-4730-9d49-065e251b8d8b

https://github.com/user-attachments/assets/7b636505-fea5-4c1c-bb41-bed60ec1956b

https://github.com/user-attachments/assets/05885455-22e2-467f-af74-6d7cac15767b

88E8732B-CE21-497B-A715-5FB8D021E7BB E82959F1-9383-4BD9-8FC4-FADB7227FC1F

That's all the reference. This shmmr file does work. but i need someone to revise it for all colors like red, fade red, green, fade green, light green, fade light green, yellow fade, blue, blue fade, light blue, light blue fade, magenta fade, pink, white, tuquiose, and so on. ShmmrTransmitterFirmware_v1_2 (1).zip

https://beta.shmmr.app/register

thank you very much