bottleneck
Choose style:

Author Topic: Interacting with Arduinos ?  (Read 4710 times)

0 Members and 1 Guest are viewing this topic.

Offline ThePoorShadow

  • Backer
  • *
  • Posts: 17
  • Thanks: 0
  • Registered : 08/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Interacting with Arduinos ?
« on: June 23, 2015, 05:02:45 pm »
Hi.

Is there a way to interact with an Arduíno? Say... the Arduino behaving like a sensor, and providing info to the Almond+ in a format it recognizes, or so..

Thanks in advance

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Interacting with Arduinos ?
« Reply #1 on: June 24, 2015, 12:15:11 am »
Yes, there are a number of different ways to integrate Arduinos depending on what you are trying to do.

Google up arduino and z-wave to get some ideas.
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

Offline ThePoorShadow

  • Backer
  • *
  • Posts: 17
  • Thanks: 0
  • Registered : 08/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Interacting with Arduinos ?
« Reply #2 on: June 24, 2015, 10:12:35 am »
Hi.
I'm aware that thare are ways to have interaction between Arduinos and ZWave devices.
BUT... what I'd like to do is having an Arduino behaving like a sensor, ie, Almond+ contacting an Arduino to get info / send comands.
I can have both communication through TCP, so I'd like to have a way to feed info from real sensors connected to Arduinos to the Almond+...

Did anyone find a way?

Offline SecureComp

  • Backer
  • *
  • Posts: 541
  • Thanks: 1
  • Registered : 05/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Interacting with Arduinos ?
« Reply #3 on: June 24, 2015, 12:28:36 pm »
I have not done it yet but it's on the list.
Biggest issue is the TCP stuff. With a Pi you can add a ZWave daughterboard and go from there.
Talking TCP to the HAServer or ZWave Serve on the Almond+ will take a little work, but yes folks have done something along those lines.
iirc there were folks monitoring the port to read info and others who were sending info before some security was implemented. Forget what the integration was, HAB maybe or OpenHA, something like that. It's here in one of the threads.

Start with something simple like a Binary Switch.
The Arduino can run some OpenZ-Wave stuff and report back as a sensor.

On the Almond+ side, created a custom sensor/device by adding it to DeviceList.xml.
DISCLAIMER
NOTE: This is not a supported action and may cause your Almond+ to panic, brick or otherwise to bad things.

Having said that, not such a big deal, just backup your Device (d/l image to PC) and backup the DeviceList.xml file.

As for more complicated sensors, so long as the Class is supported by Almond+ and you can implement the ZWave stuff on the Arduino side, yes it can be done. You can get a list of classes from the links in this thread. http://forum.securifi.com/index.php/topic,3426.0.html

I have to grab a couple shields for my 'duino to get started on this and I'm testing several products this week and next, so it's on the list, just a few weeks out at a minimum.
« Last Edit: June 24, 2015, 12:34:37 pm by SecureComp »
Kickstarter Backer
Securifi Wiki Editor and Beta Tester, Not a Securifi employee
Almond+, many sensors, IOS App, Android Apps and Widgets

 

Page created in 0.043 seconds with 20 queries.