ARDUINO DOWNLOAD

Posted on
Tue Jan 07, 2020 8:18 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

posted v 7.9.10

fixed "key error mrk1000"

now on plugin store w link to GitHub for plugin source

Karl

Posted on
Thu Jan 16, 2020 9:49 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

posted v 7.9.11

fixed "bad indent line 35"


Karl

Posted on
Fri Feb 21, 2020 7:11 am
slackman1 offline
Posts: 51
Joined: Jun 20, 2011

Re: ARDUINO DOWNLOAD -> where is arduino.ino sketch?

Hi Karl,

Can't seem to find the arduino.ino sketch in the downloaded zipfile, also checked older downloads...

Thanks for your help.

Best regards, Gerrit Jan

Posted on
Fri Feb 21, 2020 11:46 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

ARDUINO DOWNLOAD


Posted on
Thu Jan 27, 2022 12:49 pm
wackena offline
Posts: 31
Joined: Jan 07, 2022

Re: ARDUINO DOWNLOAD

I got the Arduino Plugin connected to Arduino ESP16 board. Indigo can read sensor value from Arduino. Can Indigo write sensor values to Arduino? I'm using a z-wave temp sensor on Indigo and want to. display on Arduino TM1637 digital display. If possible, please advise.

Posted on
Thu Feb 03, 2022 2:32 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

the plugin can send commands to the arduino to set GPIOs up / down, amps up down, pulse etc.

you could use that to send other data, but then you will need to really change the receiving pgm on the arduino.

Karl

Posted on
Fri Feb 04, 2022 5:53 am
wackena offline
Posts: 31
Joined: Jan 07, 2022

Re: ARDUINO DOWNLOAD

I have a Fibaro FGBS-222 smart implant (z-wave) connected to DHT-22 Temp/Humidity device. Because the smart implant does not auto update Temp and Humidity values to Indigo app, I used a "Schedule" to set frequency to "send update request".

This code send temperature value to IndigoArduino script and is displayed on a TM1637.

Thanks

Code: Select all
import time

indigo.device.statusRequest(552277016) #DHT-22 Temperature
indigo.device.statusRequest(1982059710) #DHT-22 Humidity
time.sleep(1)

tempDev = indigo.devices[552277016].states["sensorValue"] # "055 - Sensor 1"
humidDev = indigo.devices[1982059710].states["sensorValue"] # "055 - Sensor2"

Fahrenheit = round((tempDev * 1.8) + 32,1)

indigo.variable.updateValue(85670234, value=unicode(Fahrenheit))

tempSensor = indigo.variables[85670234]
if tempSensor > 0:
        sensorLog = "OK"

indigo.server.log("Updated varibale tempVar to "+str(tempDev) +" ºC - " + str(round(Fahrenheit,1)) + " ºF - "+sensorLog+" - Humidity - "+str(humidDev)+"%")

plug = indigo.server.getPlugin("com.karlwachs.arduino")
plug.executeAction("setPins" ,  #send temp value to IndigoArduino script
   props ={
    "CMD":"analogWrite"
   ,"Pin" :"D3"   
   ,"aValue": tempDev  # DHT-22 temp value
   ,"device": "Arduino Test"}  # indigo  device name
   )

Posted on
Sun Feb 06, 2022 7:39 pm
reugster offline
Posts: 14
Joined: Mar 24, 2016

Re: ARDUINO DOWNLOAD

Ive tried the links in these messages but cannot find the arduino.ino file. The only thing i ever get is the plugin and i cant find the .ino file anywhere.
Robert

Posted on
Mon Feb 07, 2022 2:55 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

arduino.ino file(s) are in first post in https://forums.indigodomo.com/viewtopic.php?f=178&t=14043 ~ 20 lines from top

Posted on
Mon Feb 07, 2022 5:03 pm
reugster offline
Posts: 14
Joined: Mar 24, 2016

Re: ARDUINO DOWNLOAD

Well, I figured out the problem, the instructions say arduino.ino but the file in the links is indigo.ino
Ive been looking for arduino.ino the whole time..


Setup Steps:
0.You must download the arduino.ino sketch attached in the zip file to your UNO/MEGA+ethernet/WIFI or ESP board . .. and set the proper IP number (and MAC# for ethernet) and or Wifi SSID/password in the sketch

Posted on
Sun Jun 25, 2023 10:35 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

added features / changes in v2022.9.11 @ 2023-06-25
===================================================

1. converted code to py3
replaced urllib with requests, changed exceptions

it compiles and runs, but not tested.

Posted on
Mon Jun 26, 2023 10:18 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

added features / changes in v2022.9.12 @ 2023-06-26
===================================================
fixed some execption handling and read http response

Posted on
Thu Aug 03, 2023 2:43 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: ARDUINO DOWNLOAD

Code: Select all
dded features / changes in v2022.9.16 @ 2023-08-03
===================================================
1.  added in parse from arduino:
  - response from arduino; b’>>rd:S1=xxx&rd:S2=xxx& … &S7=xxx’  in python3
  - remove b (byte indicator)
  - remove >> at beginning of string
  - use last 2 char for command id as all cmds are only 2 char long.
2. reduced the error log dump when connection to arduino fails.

Who is online

Users browsing this forum: No registered users and 1 guest