[DIY] AtmoOrb - A Hue like mood lamp based on Particle Photon with NeoPixel - *Tutorial added* (1 Viewer)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Reverted the "don't send color info on same color change" as in some cases it will cause an issue during turn off / clear led events as it might miss it due to WiFi packet loss and leave the Orbs on, gonna work on a better implementation for that but most likely gonna require Hyperion core changes as well as right now it's impossible to detect that reliably.
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    Hello,

    a quick one - for area selection where is 0/0 and where 100/100? So if I want for example select 1/4 in the lower left corner - what values do I need to use?

    THX
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Basically you have 2 values for vertical and horizontal so if you want to only scan the top left corner it would be:

    Vscan: 50 <-- scan 50% of vertical screen space
    Hscan: 50 <-- scan 50 % of horizontal screen space

    Can invert zone if you want if for the top right one :)

    Btw for the Hyperion users there's a core change that will make sure it doesn't keep on sending when there's no new data, it's already in the beta branch :)

    https://github.com/hyperion-project/hyperion/commit/c7fbdce5dc7fde8b8e188320408dc547b9ad5e51
     
    Last edited:

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    What I'm seeing is that after about - 15 minutes proton will stop receiving data - when I "reset" it (either through the android app - with "LED Off" or unplug it) it works again ...
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Which color is the internal led blinking when it stops receiving?
     

    pur_berger

    Super User
  • Team MediaPortal
  • Super User
  • May 14, 2007
    1,679
    309
    51
    Vienna
    Home Country
    Austria Austria
    blue constantly flashing. What I now have also seen that if you leave it it will come back and some sort of works of the last 8 seconds of colors and works ok afterwards again.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Blue pulsing means it lost connection or was rebooted into listening mode:

    https://docs.particle.io/guide/getting-started/modes/photon/

    Could be a couple of causes:

    - WiFi connection lost (range / compatibility)
    - Heat or bad solder connection
    - Make sure to use the latest sketch

    8 seconds before coming back does sound like a WiFi disconnect so if possible would check the AP logs and if the AP has any multicast throttling / buffer options best to disable as well.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    So it's breathing blue when the error occurs?
     

    Users who are viewing this thread

    Top Bottom