Navigation

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

    Chaotic

    @Chaotic

    5
    Reputation
    50
    Posts
    1175
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Chaotic Follow

    Best posts made by Chaotic

    • RE: RGB control

      I made a night light for my son and just used V_VARs
      I used the fastLED library And this code to decode from 255,255,255 that I was sending from the controller

      https://codebender.cc/sketch:90239

      Last time it came up http://forum.mysensors.org/topic/1148/need-help-with-turning-a-led-on-off-with-openhab-and-mqtt/4

      posted in Development
      Chaotic
      Chaotic
    • RE: We are mostly using fake nRF24L01+'s, but worse fakes are emerging.

      @phil83 said:

      Probably we could open a permanent thread where we can post our experiences with different aliexpress shops regarding nrf24l01+?

      I'd be interested to see a list of "good" sellers from aliexpress and not just for the radios. It seems like the store links just point to the cheapest one with free shipping some times. I haven't bought enough stuff to get burnt (7 orders of which 2 have come in and the rest should be in a week or 2) but it is one of the things that keeps me wary.

      posted in Hardware
      Chaotic
      Chaotic
    • RE: Led Ring ideas?

      I have the 16 LED version and 5 of the diffused LEDs. So far I've only ended up using 2 of the diffused LEDs for a sleep light for my 4yr old.

      Haven't found any other real uses for them. I've thought of getting some of the strips and doing lighting since then I wouldn't need to replace bulbs/switches but so far I have been unable to get wife approval.

      posted in My Project
      Chaotic
      Chaotic
    • RE: Repeater and blinking leds [SOLVED]

      @HarryDutch

      I wasn't saying don't look at the problem. I think Node to Node communication should work.

      It just this comic
      XKCD Comic
      comes to mind

      At a certain point you have to realize you are solving the problem out of principle (which is a valid reason) rather than to solve the problem.

      posted in Troubleshooting
      Chaotic
      Chaotic
    • RE: Need help with Turning a LED On/Off with OpenHab and MQTT.

      I just finished something similar. I used a Ws2812B LED so it can change colors.

      Arduino Sketch Code Bender Sketch

      And Openhab items

      Switch Light "On/OFF" (gKR) {mqtt=">[mysensors:/MyMQTT/20/2/V_LIGHT:command:ON:1],>[mysensors:/MyMQTT/20/2/V_LIGHT:command:OFF:0]"}
      String KidLight (All) {mqtt=">[mysensors:/MyMQTT/20/1/V_VAR1:command:*:default"}
      Color  RGBKidLight  "Kid Light"   (All,gKR)
      

      and openhab.rule

      import org.openhab.core.library.types.*
      import org.openhab.model.script.actions.*
      
      
      rule "Set RGB value RGBKidLight"
      when
              Item RGBKidLight changed
      then
      		val hsbValue = RGBKidLight.state as HSBType
      
      		val brightness = hsbValue.brightness.intValue  
      		val redValue   = ((((hsbValue.red.intValue * 255) / 100) * brightness) / 100).toString  
      		val greenValue = ((((hsbValue.green.intValue * 255) / 100) * brightness) / 100).toString  
      		val blueValue  = ((((hsbValue.blue.intValue *255) / 100) * brightness) / 100).toString  
      
      		val color = redValue + "," + greenValue + "," + blueValue  
      
      		sendCommand( KidLight, color )
      end
      posted in Troubleshooting
      Chaotic
      Chaotic

    Latest posts made by Chaotic

    • RE: RGB control

      I made a night light for my son and just used V_VARs
      I used the fastLED library And this code to decode from 255,255,255 that I was sending from the controller

      https://codebender.cc/sketch:90239

      Last time it came up http://forum.mysensors.org/topic/1148/need-help-with-turning-a-led-on-off-with-openhab-and-mqtt/4

      posted in Development
      Chaotic
      Chaotic
    • RE: Request data from another sensor?

      This came up before.
      http://forum.mysensors.org/topic/1085/node-to-node-communication

      Basically when the sensor sends the data to the controller you can have it send the same data to the LCD. That would most likely provide a longer battery life than requesting the data from the sensors. Doing it this way only the LCD (and the controller) have to be on all the time.

      posted in Development
      Chaotic
      Chaotic
    • RE: Led Ring ideas?

      I have the 16 LED version and 5 of the diffused LEDs. So far I've only ended up using 2 of the diffused LEDs for a sleep light for my 4yr old.

      Haven't found any other real uses for them. I've thought of getting some of the strips and doing lighting since then I wouldn't need to replace bulbs/switches but so far I have been unable to get wife approval.

      posted in My Project
      Chaotic
      Chaotic
    • RE: Own controller

      If you are running MQTT there is a gateway that supports that or if you can read serial input you could use the serial gateway.

      You would probably want to look at the Serial protocol and the Full API

      posted in Controllers
      Chaotic
      Chaotic
    • RE: MQTT Broker gateway

      @kunall There is V_VAR1-5 actually

      V_VAR1	24	Custom value
      V_VAR2	25	Custom value
      V_VAR3	26	Custom value
      V_VAR4	27	Custom value
      V_VAR5	28	Custom value
      

      Personally I would set up each value you want as a S_CUSTOM if you can't figure out another sensor type that fits.

      For smoke you can use S_SMOKE
      For Air Quality S_AIR_QUALITY
      Not sure what you'd want to use for CO2 through

      http://www.mysensors.org/download/serial_api_14

      posted in Controllers
      Chaotic
      Chaotic
    • RE: Solar Panel Sun Tracker

      I haven't done this so I could be totally off. But I would think that if you took a stepper motor and mounted a plate with a piece of cardboard able to block enough sun. You could put a photosensor on each side and move towards the side with the most sun till they are reporting an equal value. Basically this idea http://www.instructables.com/id/Arduino-Solar-Tracker/ <- just one I found googling for sun tracking arduino

      posted in General Discussion
      Chaotic
      Chaotic
    • RE: [Tutorial] openHAB with serial gateway

      I think I'm going to try setting this up soon. I've been using the MQTT gateway but this would be simpler I think.

      Any advice for switching from MQTT to serial in openhab.

      I think I need to update openhab to use the 1.70 version but I don't think that would be too hard.

      posted in OpenHAB
      Chaotic
      Chaotic
    • Wrong links in "Store"

      I've been looking to buy some things and noticed that some of the aliexpress links aren't going to the item they claim to be.

      10pcs DS18B20 Dallas Temperature Sensors is pointing to 10PCS x Single Row round hole 1X40 Pin Crystal socket

      8 Channel is pointing to Lillianjake 5V 1 2 4 8 12V 16 Channel Relay Module W LED Indicator Light For Arduino [1 Channel Relay(W LED Indicator)]

      Those are just the ones that I have noticed. I'm not sure how the links are created/maintained just letting people know.

      posted in Bug Reports
      Chaotic
      Chaotic
    • RE: State of the physical switch

      Could you just remove the switch from the actual circuit.

      I believe you can use a "normal" light switch as just a switch for an arduino. So you could make a small node to go in the wall and read the light switch and send the command to toggle and update the controller at the same time. This might introduce a small delay into turning the light on since it would have to go from the light switch node to the gateway/controller and then back to the actual light.

      However I believe (haven't tried it yet my nodes are mostly passive right now) that you could send the command to turn the light on from the light switch node directly to the light at the same time that you send the light is on command to the controller.

      This is what I'm suggesting https://www.reddit.com/r/arduino/comments/2yxcjc/my_first_project_arduinocontrolled_remote_control/

      So instead of the light switch being connected to the house power it is just connected to an arduino/radio.

      posted in General Discussion
      Chaotic
      Chaotic
    • RE: We are mostly using fake nRF24L01+'s, but worse fakes are emerging.

      @phil83 said:

      Probably we could open a permanent thread where we can post our experiences with different aliexpress shops regarding nrf24l01+?

      I'd be interested to see a list of "good" sellers from aliexpress and not just for the radios. It seems like the store links just point to the cheapest one with free shipping some times. I haven't bought enough stuff to get burnt (7 orders of which 2 have come in and the rest should be in a week or 2) but it is one of the things that keeps me wary.

      posted in Hardware
      Chaotic
      Chaotic