This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
InfraRed CommunityApp SDK2

[App] NEEO Remote and Homey (v0.50.2 - 28.05.18)

nklerknklerk Member
edited May 2018 in Apps

NEEO App

This app brings the best of NEEO and Homey together.

Controll every device or flow in Homey with the NEEO remote. Use sliders, buttons and switches to build your own virtual device and use the Homey flow editor to hook it up to all kinds of Homey apps. The app supports feedback of information as well. Change the volume of your receiver and the slider on your remote will change in realtime.

Want to visualise your sensors or "what did homey say?", with this app you can inform the remote about all kinds of state changes including textual. So what did homey say? you can see that on your remote.

Build virtual devices and make them availeble to NEEO. Controll Homey Flows with your NEEO remote and controll your NEEO connected devices with Homey.

This code is developed with an actual neeo combo. The NEEO Remote can be (Pre)ordered at https://neeo.com/pre-order/

Please note that this is not an official NEEO app made by NEEO and there will be no support from NEEO concerning this App.

Features

virtual devices:

  • Create virtual devices and make them available to NEEO.
  • Provide the virtual device with a selectable device type. (light, TV, etc…)
  • Add buttons to your virtual devices.
  • Add sliders to your virtual devices.
  • Add switches to your virtual devices.
  • Add textlabels to your virtual devices.
  • Add images to your virtual devices.
  • Add predefined media buttons to your virtual devices.
  • Add predefined digit buttons to your virtual devices.
  • Add predefined power buttons to your virtual devices.
  • Add predefined navigation buttons to your virtual devices.
  • Added virtual devices contain a default set of buttons.

When… flow cards:

  • "A button is pressed." This card is triggered when a button of a virtual device is pressed.
  • "A switch changed state." This card is triggered when a switch of a virtual device has changed state.
  • "A slider is changed." This card is triggered when a slider of a virtual device is changed.
  • "Event triggered." This card is triggered when a NEEO event is triggered. (recipe activated, button pressed, slider changed, etc…)

…And… flow cards:

  • "Recipe is|isn't active." This card will condition a recipe being active or deactive.

…Then flow cards:

  • "Activate a recipe." This card will start (Activate) the selected recipe.
  • "Shutdown a recipe." This card will shutdown (deactivate) the selected recipe.
  • "Shutdown all recipes." This card will shutdown all recipes.
  • "Press a button." This card will press the selected button on the NEEO remote.
  • "Change a Switch." This card will set the selected switch on the NEEO remote to On/Off.
  • "Change a Slider." This card will set the selected slider on the NEEO remote to a specific value.
  • "Inform slider state. (Percentage)" This card will inform the NEEO remote user interface of the given value in percentage for the selected virtual device slider.
  • "Inform slider state. (Value)" This card will inform the NEEO remote user interface of the new value for the selected virtual device slider.
  • "Inform switch state." This card will inform the NEEO remote user interface of the new value for the selected virtual device switch.
  • "Inform label or image state." This card will inform the NEEO remote user interface of the new value for the selected virtual device label or set the image based on a URL or image tag.
  • "Blink the brain LED." This card will blink the LED of the selected NEEO brain (every x time blinks for 2 seconds.)

To Do

  • Adding feature to check specific sensor values in NEEO.
  • Adding favorite editing tool.
  • Adding a tool to debug/test ir commands.
  • setting brain's as seperate devices to Homey.

Changelog.

Version 0.49.5

  • removed depricated buttons 'SKIP BACKWARD' and 'SKIP FORWARD' for new virtual devices.

Version 0.49.4

  • Favorite edit tool. (Settings-> NEEO-> Configuration -> Brain, Favorites ->)
  • Included "specificname" SDK feature. New virtual devices won't be added as MEDIA or GAME but with their specific name.
  • Bug fixes.

Version 0.48.3

  • bug fix, A copy past one.
  • Update Firmware card.
  • Re added a delete virtual device feature to the app settings. thanks for reporting Chris Sesier!

Version 0.48.2

  • Minor change to the offline brain icon. now has no status led.
  • Minor change to the image icon.
  • Fixed NEEO Events. should work again.
  • Added Firmware check. (…And… Card)
  • Less logging for event registers.
  • Fixed settings information button, Wrong Icon removed.
  • Show device icon in settings device view.
  • Tested on firmware 0.48.13

Version 0.48.1 - Beta

  • Fixed some typo's thanks to Mark Swift.
  • Fixed device naming in Homey settings. thanks to Mark Swift.
  • App settings UI changes.
  • App settings can now be used with Homey AppV2
  • Fixed possible memory leak
  • Reduced stress on NEEO brain and Homey
  • Detect when a brain is unreachable.
  • Detect when a brain is reachable again.
  • Only register homey as NEEO device database when needed.
  • Only register forward events when needed.
  • Fixed a bug where discovered data was not properly saved.
  • Changed to HTTPmin node package for better promise handling.

Version 0.48.0 - Beta

This has been a huge change and issues are to be expected.

  • Changed from Homey SDKv1 to SDKv2
  • Settings page now show more system information details.
  • Support base64 images (image Tag) to NEEO. just drag a image tag in the "Update textlabel or image state." card.

Version 0.47.17

  • Fixed an issue that would happen when searching a device in NEEO when no virtual devices where pressent on Homey.
  • Fixed an issue that would happen when searching capabilities in Homey when no virtual devices where pressent.
  • Fixed an issue that would happen when getting all devices in Homey when no virtual devices where pressent.
  • Fixed an issue that could happen while retreving brain configuration.

Version 0.47.16

  • Fixed an issue where selecting a button would crash the app.

Version 0.47.15

  • Fixed an issue where the app would crash when no NEEO brains where found.

Version 0.47.14

  • Changed Version Numbering
  • Added …And… card recipe is active/deactive.
  • Added …then card blink NEEO Brain LED.
  • New helpfull information added.
  • Created individual node modules. (was one file)
  • General code cleaning
  • Neeo now support images! and so does this app.
  • Fixed first time use issues.
  • Fixed the use of percentage values. (0 to 1).
  • A lot of smaller bug fixes.

Version 0.9.4

  • Fixed an issue with a corupted neeobrains save.

Version 0.9.3

  • Fixed an issue when NEEO requests a unknown capability.

Version 0.9.2

  • Rewritten event notifications.

Version 0.9.1

  • Cleaned up a lot of code.

Version 0.8.0

  • Rework of MDNS Discovery.
  • Bug Fixes

Version 0.7.7

  • Added token support (Tags)

Version 0.7.6

  • Fixed a critical bug that rendered all NEEO flows unusable.
  • Added textlabels as capability, You can now display textual inforamation. like what did homey say :-)
  • Cleaned settings code.
  • Changed icons on app settings
  • Added textlabel icon for app settings.
  • Changed initial bonjour interval from unlimited every 10 seconds to 10 times 1 minute.

Version 0.7.5

  • Default capabilities will now be added when adding a new virtual device.
  • Settings page look and feel changed.
  • Added a download configuration button so you can make a backup.
  • Added setting to view connected NEEO brains.
  • Added discovery button to manually discover NEEO brains.
  • Added a delete NEEO brain function to settings.

Version 0.7.4

  • Fixed a bug where switches didn't work.
  • Changed name of "drivers" to "Virtual Devices"
  • Fixed a bug that causes bonjour error's.
  • Added a way to turn off all active recipies.

Version 0.7.3

  • minor debug log changes.
  • Changed re registering to rediscovery/reconnect syclus of 10 Minutes.

Version 0.7.2

  • fixed a bug that caused an issue when using a multi brain setup

Version 0.7.1

  • First public beta release.


«1

Comments

  • Nice!
    What is your impression so far on the NEOO?
  • It's really working well. i really love the build quality. and makes my harmony ultimate look like an 80's toy :-)
    NEEO and Homey strengthen each other really well. 

    Forgot about the PLEX app:
  • TedTolboomTedTolboom Member
    edited February 2017
    Damn... another nice project / business case I have to defend at home...
  • Nice!

    off-topic:cYou got it 2 weeks ago? Cool, I didn't know they were shipping..
    @nklerk Were you a super early bird? and did you have to pay any taxes?

  • I'm currently the only backer with a neeo as far as I know. I got a pre-production NEEO as a special thanks  at a backers event in Amsterdam after the ISE2017 trade show. They are about to start mass production soon.
  • Cool , too bad I didn't know about the event  :/
    Good to know that there are more people with a NEEO!
  • nklerk said:
    In one of my posts I said that as soon as i've received my NEEO, I would try and combine the power of both devices.

    Well two weeks ago I received my NEEO.
    https://flic.kr/p/RM6Mi5
    https://flic.kr/p/S5cGpT


    Currently all my interactions between NEEO and HOMEY are made with the "HTTP request" app. and the NEEO's ability to forward all actions in json format to an IP. so i forward all events from NEEO to Homey. I haven't made an app yet but i intend to build one for NEEO and one for Homey. I have to see how that works out as my first real experience with JS is from this weekend. lol.

    Ok Homey, Televisie aan/uit:


    Dutch channel logo's:


    Homey reageert op de zender keuze.


    Een paar Homey flows op mijn NEEO:


    Hier een Flows in Homey:



    Hi @nklerk

    I hope my neeo comes this week, wait so long. How is the quality? 
  • olive said:
    Hi @nklerk

    I hope my neeo comes this week, wait so long. How is the quality? 
    I wouldn't bet on receiving your neeo this week or the next.
    I just read that next sunday there will be an update. hopefully well know more on the KS units.
  • nklerknklerk Member
    edited February 2017


     B) 
  • nklerk said:


     B) 
    Really?  :)
  • Yeah my first app! and it's working.
    its a really simple app. But does the job.

    with the videos earlier I needed to have the NEEO output sent to a perl script and then too homey http app. Now I just need my app and it works native.
  • nklerk said:
    Yeah my first app! and it's working.
    its a really simple app. But does the job.

    with the videos earlier I needed to have the NEEO output sent to a perl script and then too homey http app. Now I just need my app and it works native.
    Please load this to the app store, hope i get my neeo to in near future. Why you get your neeo?
  • For being very supportive, and very active on the KS comments.
  • olive said:
    nklerk said:
    Yeah my first app! and it's working.
    its a really simple app. But does the job.

    with the videos earlier I needed to have the NEEO output sent to a perl script and then too homey http app. Now I just need my app and it works native.
    Please load this to the app store, hope i get my neeo to in near future. Why you get your neeo?


    +1 Waiting for my (our! Yes love...) NEEO....

    And with an app even I could get it to work!

  • moorm2moorm2 Member
    @nklerk  I am realy like the neeo to. And want to buy one for sure. But do i need the brain to ( I only would like to start homey flows from the neeo remote)

  • nklerknklerk Member
    The remote doesn't do much without a brain. The reason you can buy a remote separate is that you can use multiple remotes.
  • moorm2moorm2 Member
    was afraid of that. tought to spare a few euros. But thank u for ur quick response.
  • thx nklerk

    i am waiting for my neeo to :-)


  • nklerknklerk Member
    You can use a brain only setup, where you use the app together with the brain. Thing is It's the remote together with the brain that makes it such a great product. 


  • nklerknklerk Member

    thx nklerk

    i am waiting for my neeo to :-)


    I know its hard to wait, but o man its so worth it.


  • nklerknklerk Member
    Hi Guy's

    I haven't posted anything here for almost a year now. - Shame on me -
    I was wondering if you guys are missing features, want to see stuff differently or if there are any problems you run in to.

  • OctoOcto Member
    Neeo works perfectly with Homey, fantastic app
  • jordenjorden Member
    I just got a secondhand Neeo and installed your app. Still have to spend some more time with it but it's a nice interface with touchscreen to Homey, for me :)

    It's a shame though that my remote loses connection to the brain so often. Are they connected by Bluetooth? I need some time to investigate :(
  • nklerknklerk Member
    Octo said:
    Neeo works perfectly with Homey, fantastic app

    Thanks.
  • nklerknklerk Member
    jorden said:
    I just got a secondhand Neeo and installed your app. Still have to spend some more time with it but it's a nice interface with touchscreen to Homey, for me :)

    It's a shame though that my remote loses connection to the brain so often. Are they connected by Bluetooth? I need some time to investigate :(

    That never happened to me. It uses both WiFi and 6LoPan, mostly WiFi. feel free to post on Planet NEEO and tag me in your post.

  • First a big compliment to Niels. Great job on this app. Just bought a neeo and I am utterly surprised how good it already workshop. I thought this would all be very buggy, but at this moment no bugs for me. This i also an accompshment of Niels as i was able to implement a neo coolcam wallplug in my Neeo. That way i can control al my light with Neeo. In the Neeo app i was not possible tot activiteit this Zwave plug. This app did the job. You could say that that truely is a bug of the Neeo app, as the app from Niels is a nice workaround. But I have a question. My english is not that well that i understand the compleet explanation from Niels inhis Neeo app. Tado is integrated in homey and it would be nice if i could control my thermostat with Neeo. How do i pull that off? Would be nice to get a short description with steps i do have to take. Another question is, I own a Harmony elite AB, Harmony supports grouping inside Sonos. As from this point Neeo does not support this, is there a way to implement this in Neeo. The app Harmony hub supports activities so you can make flows with these activities. Can i use this to use the Harmony activity “ Play Sonos” with a flow and a virtual device in Neeo. In that case i could make a Recipe play Sonos in which my Sonos Playbar, Sonos one and stereo Sonos 3 are grouped together. That way my Harmony AB would be totally unnescessary and in future time will be eating dust. The Harmony hub would probably the Hub that is needed for grouping Sonos.

    so a big applaus for Niels
    As for me buy a NEEo and you will be suprised, i bought is despite many bad reviews of the many bugs. Probably the Neeo team has worked hard on that.
  • nklerknklerk Member
    First a big compliment to Niels. Great job on this app. Just bought a neeo and I am utterly surprised how good it already workshop. I thought this would all be very buggy, but at this moment no bugs for me. This i also an accompshment of Niels as i was able to implement a neo coolcam wallplug in my Neeo. That way i can control al my light with Neeo. In the Neeo app i was not possible tot activiteit this Zwave plug. This app did the job. You could say that that truely is a bug of the Neeo app, as the app from Niels is a nice workaround. But I have a question. My english is not that well that i understand the compleet explanation from Niels inhis Neeo app. Tado is integrated in homey and it would be nice if i could control my thermostat with Neeo. How do i pull that off? Would be nice to get a short description with steps i do have to take. Another question is, I own a Harmony elite AB, Harmony supports grouping inside Sonos. As from this point Neeo does not support this, is there a way to implement this in Neeo. The app Harmony hub supports activities so you can make flows with these activities. Can i use this to use the Harmony activity “ Play Sonos” with a flow and a virtual device in Neeo. In that case i could make a Recipe play Sonos in which my Sonos Playbar, Sonos one and stereo Sonos 3 are grouped together. That way my Harmony AB would be totally unnescessary and in future time will be eating dust. The Harmony hub would probably the Hub that is needed for grouping Sonos.

    so a big applaus for Niels
    As for me buy a NEEo and you will be suprised, i bought is despite many bad reviews of the many bugs. Probably the Neeo team has worked hard on that.
    Thanks m8, I really appreciate your message!

    Lets make your harmony's new home a trash can ;-)

    I have my thermostat controlled with my NEEO and works flawlessly and i'm confident i can help you achieve this as well. As I currently don't have much time i would like to ask you to share a picture showing what If... cards and ...Then cards the thado supports. I can then easily respond with flow suggestions.

    Any activity on your remote will generate an event. I suggest doing the following:
    1. Install the simple log app.
    2. Make a New Flow and name it something like Log NEEO Events.
    3. In the if... column add the NEEO card and change it to NEEO Events.
    4. in the ...then column add the Simple log card
    5. Drag the JSON tag from the NEEO, Event card to the text input of the simple log card.
    6. Save your flow.
    7. Go to homey settings and open the simple log app settings. you will be presented with live logging.
    8. Start your sonos recipe on the NEEO remote and note the activities coming in to the simple log.
    9. Now you can see what is happening in the NEEO Event card so you can make an aditional flow acting on specific events like start sonos or play pause 
    Hope this helps.
  • nklerknklerk Member
    NEEO Event Logging flow.


    Example of Sonos Recipe events:
    2018-05-25 11:13:23 [NEEO] {"action":"poweroff","device":"Sonos","room":"Driver test","recipe":"Sonos"}
    2018-05-25 11:13:15 [NEEO] {"action":"PLAY TOGGLE","device":"Sonos","room":"Driver test","actionparameter":"false"}
    2018-05-25 11:13:10 [NEEO] {"action":"PLAY TOGGLE","device":"Sonos","room":"Driver test","actionparameter":"true"}
    2018-05-25 11:13:00 [NEEO] {"action":"PLAYNOW","device":"Sonos","room":"Driver test","actionparameter":"FV:2.1"}
    2018-05-25 11:12:49 [NEEO] {"action":"launch","device":"Sonos","room":"Driver test","recipe":"Sonos"}

    These can be used to automate other actions.

Sign In or Register to comment.