[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
    Thanks for the led tip, so it looks you have to include the namespace for it to work :)
    Will add to the sketch as an optional feature.
     
    Last edited:

    ixdvc

    Portal Pro
    May 26, 2009
    227
    39
    Home Country
    Germany Germany
    I have noticed another thing: As soon as hyperion is started with AtmobOrb set as device, all LEDs on all my switches are blinking like crazy even though the AtmoOrb should be (and is) off. Wouldn't it be better if the data is only transmitted when the orb has to display an actual color? I haven't noticed any problems like the network being slower or so, but I think this behaviour is a little strange.
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    That is something Hyperion does sadly where we have no control over (write command gets called 24/7) , can implement something that if the color is the same it skips it in the next Hyperion update though :)
    The multicast commands are so small that it shouldn't interfere with the network, some routers / APs might have something called multicast buffering and is best to disable it as it slows the Orbs down.

    The way it works with multicast groups is that only members in the same (IP) group respond / accept these incoming messages, however some older or non-compliant devices might accept it anyway as they lack a proper filter.
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Just pushed new sketch update which rolls back a few changes as some are causing problems with the latest Hyperion build, not 100% sure why yet but with this sketch it works perfectly fine with both old and new.
     

    ixdvc

    Portal Pro
    May 26, 2009
    227
    39
    Home Country
    Germany Germany
    I have switched to OSMC today and I am really satisfied with the result. I got the orb working automatically after startup. I made a copy of the /etc/systemd/system/hyperion.service and enabled my hyperion2.service according to the OSMC install wiki article.
    Then suddenly the orb wasn't working anymore after reboot. The service was started, however (verified using sudo service hyperion2 status), but the orb stayed dark. After a service restart it worked fine. Then I read your message about the new AtmoOrb sketch and flashed it. I don't know if it is related to that or some other stuff I did (tried getting mopidy running, but failed :D), but now the orb is working after restart!
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    OSMC might not be best choice if you want use different led types, their support is lacking and has issues with some led types (old / incorrect drivers) with no solution yet.
    Raspbian is most likely gonna be the best choice for the long run as its commonly used by the developers as well :)

    Then I read your message about the new AtmoOrb sketch and flashed it. I don't know if it is related to that or some other stuff I did (tried getting mopidy running, but failed :D), but now the orb is working after restart!

    Have had those random freeze ups only they lasted a few seconds but only on full black or when Mediaportals screensaver kicks in just not always (no clue why), compared the old and new sketch and it should have worked before but for the time being gonna keep the current sketch and tweak it a little after more testing.
    At least with the current sketch everything will run smoothly :) , when the new Hyperion build is out of beta (expect it in 1 week or so) you will also get the option to use different smoothing options (Orb or that of Hyperion):

    https://github.com/tvdzwan/hyperion/wiki/AtmoOrb-device

    Would stick with the default Hyperions own smoothing but more choice is always better.
     
    Last edited:

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    Sketch was updated and running stable with some code cleanup and corrections so that is the recommended one to use now :)

    I have noticed another thing: As soon as hyperion is started with AtmobOrb set as device, all LEDs on all my switches are blinking like crazy even though the AtmoOrb should be (and is) off. Wouldn't it be better if the data is only transmitted when the orb has to display an actual color? I haven't noticed any problems like the network being slower or so, but I think this behaviour is a little strange.

    Just added some new checks and tested here which will prevent sending same color commands, once approved that will be included in the next Hyperion release:

    https://github.com/hyperion-project/hyperion/pull/602
     

    Rick164

    MP Donator
  • Premium Supporter
  • January 7, 2006
    1,335
    1,005
    Home Country
    Netherlands Netherlands
    For the Orb setup with Hyperion it's best to use set the OrbSmoothing to true for now, debugging the current version as I noticed something strange with the latest change in combination with linear smoothing (didn't happen in beta weirdly enough).

    // Update

    Updated the default config for AtmoOrb in the wiki here:

    https://hyperion-project.org/wiki/AtmoOrb-Device

    Found the cause and it's working as expecting because it now sets the command type correctly and Orb smoothing behaves a bit faster now due to it using the color differences and skipping over identical colors :)
    HyperCon was also updated today to reflect the new default setting.
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    Hello guys , i have a little question about this project. I really want to use this project with the software "aurora" but i want to use it by USB connection (so without the ESP8266), and i'm wondering if it's possible. I plan to use it only with my computer so the USB is not a problem. I also plan to replace the LED by a LED strip ^^
    Hello guys , i have a little question about this project. I really want to use this project with the software "aurora" but i want...
    Hi, I would like to showcase a project of mine, that I have been working on for quite some time. What is it? AtmoOrb is a lamp...
    Replies
    50
    Views
    54K
    MP1 MP2 WS2812B DE
    // AtmoduinoV2 by NevCairiel, based on RickDB Atmoduino V1 #include <FastLED.h> // Set the number of leds in the strip. #define NUM_LEDS 188 // type of the LED controller #define LED_TYPE WS2812B // data and clock pins #define DATA_PIN 10 CRGB leds[NUM_LEDS]; void setup(){ Serial.begin(115200); FastLED.addLeds<LED_TYPE...
    // AtmoduinoV2 by NevCairiel, based on RickDB Atmoduino V1 #include <FastLED.h> // Set the number of leds in the strip. #define...
    Hello guys. For a long time now i was thinking of getting myself a new project :) Well recently i decided to start the ambilight...
    Replies
    14
    Views
    4K
    DC12V is the correct power. The LC8808 is a 3-channel constant current LED drive with resumable data transfers and internal display patterns. There are three open-drain constant current outputs, with a build-in PWM of gray scale. The range of input power is from +9V to +15V, and voltage-endurance of LED port is +12V. There is a...
    DC12V is the correct power. The LC8808 is a 3-channel constant current LED drive with resumable data transfers and internal...
    Introduction Over time there have been many Windows alternatives to Atmowin and under Linux there is Bobilight however there is...
    Replies
    352
    Views
    194K
    • Sticky
    @HomeY, never mind found my own answer by looking at close-up of the board on Amazon: pin 11 is marked as "~11" defined as being part of the digital PWM group that must be needed for AmbiBox software, but not for the FastLED.show() command during setup.
    @HomeY, never mind found my own answer by looking at close-up of the board on Amazon: pin 11 is marked as "~11" defined as being...
    First of all a BIG TNX to both Lightning303 & azzuro for helping me out setting this up properly. Since we already have a great...
    Replies
    21
    Views
    43K
    • Sticky
    Is this the right thread for downloading the latest version of Atmolight MP1? Extension Manager URL for Atmolight returns HTTP error. For AtmoWin the same. Thanks
    Is this the right thread for downloading the latest version of Atmolight MP1? Extension Manager URL for Atmolight returns HTTP...
    Overview AtmoLight is a process plugin that interfaces with different ambilight solutions and brings Ambilight to MediaPortal. The...
    Replies
    390
    Views
    110K
    Top Bottom