Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. raditv
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by raditv

    • RE: Domoticz Beta for MySensors official support?

      if you dont want to install anything to restart domoticz when it's crash. you can put crontab to check it with bash script like this

      put this on your cront :

      */1 * * * * sudo /opt/Domoticz/scripts/online_check.sh 2>&1 >> /dev/null
      

      and this is online_check.sh

      #!/bin/bash
      #Title check_domoticz_online.sh
      # check domoticz
      sudo service domoticz.sh status
      # if not found - equals to 1, start it
      if [ $? -eq 1 ]
      then
      sudo service domoticz.sh restart
      else
      echo "Domoticz running - do nothing"
      fi
      
      posted in Domoticz
      raditv
      raditv
    • RE: Domoticz Beta for MySensors official support?

      I see, I never check ethernet script for domoticz, maybe there's a bugs there. I'll check it anyway. but if you try serial gateway, it will run

      posted in Domoticz
      raditv
      raditv
    • RE: Domoticz Beta for MySensors official support?

      @kunall which sketch did you use for relay with button? did you modify the sketch?

      posted in Domoticz
      raditv
      raditv
    • RE: Domoticz Beta for MySensors official support?

      @kunall which light do you want to turn on/off? mysensors based? or zwave or anothers?
      and anyway On Action/Off action it's only an additional query, for example when you turn on/off the light you want to open some url or script then you have to put your url/script there. but it's better for you to use LUA script for automation.

      posted in Domoticz
      raditv
      raditv
    • RE: Which IDE is better to use?

      unfortunatelly I use mac, I'll try to install on my virtualbox. thanks for your suggestion

      posted in Development
      raditv
      raditv
    • RE: Operate two relays with one node individually + with a button?

      @kunall This might be useful for you:

      http://www.mathertel.de/Arduino/OneButtonLibrary.aspx

      posted in Troubleshooting
      raditv
      raditv
    • Which IDE is better to use?

      any suggestion of using others IDE than Arduino Default IDE?

      posted in Development
      raditv
      raditv
    • RE: Operate two relays with one node individually + with a button?

      you should use eeprom to store button value, I think you can't use bounce for something like that as far I know. and better for you to use at least 2 button, one for control and another to reset value

      posted in Troubleshooting
      raditv
      raditv
    • RE: 21 Sensors from a repurposed Android

      @AWI I'am 🍎 user, but only Mac. I use android phone 😛

      posted in My Project
      raditv
      raditv
    • Just wondering, is there any Indonesian here?

      Is there any Indonesian here, living in indonesia or abroad?

      posted in General Discussion
      raditv
      raditv
    • RE: 1.4 Error compiling with PinChangeInt.h library file

      @clgary solution from @hek, try development branch 😛

      posted in Bug Reports
      raditv
      raditv
    • RE: Compile Error on new Arduino IDE

      Tested with development branch and compiled, anyway is there any changes in API between master and development? do I need to reupload skeech to my older running devices if I want to use development branch?

      posted in Bug Reports
      raditv
      raditv
    • RE: FHEM

      @ntruchsess how do I update my dummy switch value? my german language is not so good to understand everything on fhem. I've created fhem.cfg for my 4 buttons. and create 4 dummy switch for that. but when I press the real button, dummy switch doesn't change the state. but when I press dummy switch on web. the button status is changed.

      below is my fhem.cfg

      attr global userattr devStateIcon devStateStyle icon sortby webCmd widgetOverride
      attr global autoload_undefined_devices 1
      attr global logfile ./log/fhem-%Y-%m.log
      attr global modpath .
      attr global motd SecurityCheck:\
      \
      WEB,WEBphone,WEBtablet has no basicAuth attribute.\
      telnetPort has no password/globalpassword attribute.\
      \
      Restart FHEM for a new check if the problem is fixed,\
      or set the global attribute motd to none to supress this message.\
      
      attr global statefile ./log/fhem.save
      attr global updateInBackground 1
      attr global verbose 3
      
      define telnetPort telnet 7072 global
      
      define WEB FHEMWEB 8083 global
      
      define WEBphone FHEMWEB 8084 global
      attr WEBphone stylesheetPrefix smallscreen
      
      define WEBtablet FHEMWEB 8085 global
      attr WEBtablet stylesheetPrefix touchpad
      
      # Fake FileLog entry, to access the fhem log from FHEMWEB 
      define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
      
      define autocreate autocreate
      attr autocreate filelog ./log/%NAME-%Y.log
      
      define eventTypes eventTypes ./log/eventTypes.txt
      
      # Disable this to avoid looking for new USB devices on startup
      define initialUsbCheck notify global:INITIALIZED usb create
      define gateway MYSENSORS /dev/tty.wchusbserial14120@115200
      attr gateway autocreate 1
      attr gateway first-sensorid 10
      attr gateway stateFormat connection
      define MySwitch MYSENSORS_DEVICE 10
      attr MySwitch IODev gateway
      attr MySwitch mapReading_switch 0 switch
      attr MySwitch mapReading_switch1 1 switch
      attr MySwitch mapReading_switch2 2 switch
      attr MySwitch mapReading_switch3 3 switch
      attr MySwitch mode node
      attr MySwitch setCommands on0:switch:on off0:switch:off on1:switch1:on off1:switch1:off on2:switch2:on off2:switch2:off on3:switch3:on off3:switch3:off
      attr MySwitch setReading_switch off,on
      attr MySwitch setReading_switch1 off,on
      attr MySwitch setReading_switch2 off,on
      attr MySwitch setReading_switch3 off,on
      attr MySwitch version 1.4.1
      
      #Switch Config
      # Blue LED
      define BlueLED dummy
       attr BlueLED group TestGroup
       attr BlueLED room MySensorLED
       attr BlueLED setList on off
       attr BlueLED webCmd on:off
       # normal Switch on
       define BlueLED1 notify BlueLED:on set MySwitch on0
       define BlueLED2 notify BlueLED:off set MySwitch off0
      
      # Orange LED
      define OrangeLED dummy
       attr OrangeLED group TestGroup
       attr OrangeLED room MySensorsLED
       attr OrangeLED setList on off
       attr OrangeLED webCmd on:off
       # normal Switch on
       define OrangeLED1 notify OrangeLED:on set MySwitch on1
       define OrangeLED2 notify OrangeLED:off set MySwitch off1
      
      # Red LED
      define RedLED dummy
       attr RedLED group TestGroup
       attr RedLED room MySensorsLED
       attr RedLED setList on off
       attr RedLED webCmd on:off
       # normal Switch on
       define RedLED1 notify RedLED:on set MySwitch on2
       define RedLED2 notify RedLED:off set MySwitch off2
      
      # Green LED
      define GreenLED dummy
       attr GreenLED group TestGroup
       attr GreenLED room MySensorsLED
       attr GreenLED setList on off
       attr GreenLED webCmd on:off
       # normal Switch on
       define GreenLED1 notify GreenLED:on set MySwitch on3
       define GreenLED2 notify GreenLED:off set MySwitch off3
      
      posted in FHEM
      raditv
      raditv
    • RE: Multisensor Multiactuator Sketch / Testboard - tested with FHEM Controller

      Dummy device status doesnt change when I press the button, how to set the dummy state on reading change? I don't know so much about fhem config file

      posted in My Project
      raditv
      raditv
    • RE: Multi Binary Switches

      you have to make an array also for debouncer

      posted in My Project
      raditv
      raditv
    • RE: [Tutorial] openHAB with serial gateway

      Great Post Tim 👍

      posted in OpenHAB
      raditv
      raditv
    • RE: Mini Weather Station

      I would like to print that one for my pet 😉

      posted in My Project
      raditv
      raditv
    • RE: Unable to get started

      I think node ID is given by controller on serial gateway.

      posted in Troubleshooting
      raditv
      raditv
    • RE: OpenHAB/MQTT Tips & Hints

      is there any sample code for controlling RGB led here?

      posted in OpenHAB
      raditv
      raditv
    • RE: Serial terminal

      can you post the source? so everyone can contribute to make something more

      posted in Controllers
      raditv
      raditv
    • RE: The Most Stable Controller and gateway, vera or another listed controller

      thank you all, I've been using agocontrol for a while, and this controller is good, it can automatically assign node and id, but agocontrol is really slow and sometimes take a decade to respond :p, I tried fhem then I find that fhem is more stable but you need to configure everything manually, lot of technical things. Openhab in one side is great but not for mqtt gateway in mysensors, because the gateway is not stable enough. I installed jeedom once, and lot of french language there and lack of english manual. I never tried vera, it's hard to get it in Indonesia, I think I will go to singapore to get one.

      raditiya

      posted in Controllers
      raditv
      raditv
    • RE: Gateway/sensor Range Advice

      Interesting about millis(), is there anyone here running mysensors more than 50 days?

      posted in Hardware
      raditv
      raditv
    • The Most Stable Controller and gateway, vera or another listed controller

      What is the most stable controller, which one is better openhab with mqtt, or vera with serial/ethernet, or openhab with serial, or fhem with serial?

      posted in Controllers
      raditv
      raditv