Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
D

Denke

@Denke
Hardware Contributor
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store
About
Posts
60
Topics
5
Shares
0
Groups
1
Followers
1
Following
1

Posts

Recent Best Controversial

  • Wirsbo/Uponor thermostat replacement
    D Denke

    @bjornhallberg The sensors are working fine and have been installed in my home for the last couple of years. Some optimisation needs to be done to the code, that i have not done. This is more connected to understanding when the mysensors network is in "range" as i want to fallback on the manual knob if the mysensor network is inactive for some reason or if i sell the house and the controller goes with me.

    My Project hardware thermostat development

  • 💬 Wirsbo/uponor thermostat
    D Denke

    @hepal
    Hi The thermostats use mysensors serial gateway to communicate with the openhab that runs on a raspberry Pi 2. I run openhab 2.0 but in the beginning i was running 1.7.x

    OpenHardware.io temperature floor heating uponor thermostat mysensors wirsbo

  • 💬 2 channel in wall dimmer
    D Denke

    The project does not work without neutral wire

    OpenHardware.io mysensors dimmer 2 channel

  • 💬 2 channel in wall dimmer
    D Denke

    No i have not tested any minimum loads at the moment, this is one of the next steps

    OpenHardware.io mysensors dimmer 2 channel

  • 💬 Wirsbo/uponor thermostat
    D Denke

    HI @dexterbot
    Here is the code for the openhab

    Items
    /* Thermostats /
    /
    Hall */
    Number Hallway_Temperature "Temperature [%.1f]" <temperature> (Temperature, C_Hallway, gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_Temperature:temp" }
    Number Hallway_SetPoint "HVAC/Heater set point " <temperature> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_SetPoint:hvac-setPoint-heat" }
    String Hallway_FlowState "Mode of heater [%s]" <heating> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_FlowState:hvac-flow-state" }
    Number Hallway_KnobTempVar1 "Knob temperature [%.1f]" <temperature> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_KnobTempVar1:var1" }
    String Hallway_FlowMode "Running mode" <heating> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_FlowMode:hvac-flow-mode" }
    Number Hallway_HystLowVar3 "hyst low [%.1f]" <temperature> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_HystLowVar3:var3" }
    Number Hallway_HystHighVar4 "hyst high [%.1f]" <temperature> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_HystHighVar4:var4" }
    Number Hallway_UpdateTimeVar5 "update time (s) [%d s]" <clock> (gMS) { channel="mysensors:hvacThermostat:gateway:Hallway_UpdateTimeVar5:var5" }

    Things
    Bridge mysensors:bridge-ser:gateway [ serialPort="/dev/ttyUSB0", sendDelay=200, baudRate=115200, skipStartupCheck=true ] {
    /** define things connected to that bridge here */
    hvacThermostat Hallway_Temperature [nodeId="59", childId="0"]
    hvacThermostat Hallway_SetPoint [nodeId="59", childId="0"]
    hvacThermostat Hallway_FlowState [nodeId="59", childId="0"]
    hvacThermostat Hallway_KnobTempVar1 [nodeId="59", childId="0"]
    hvacThermostat Hallway_FlowMode [nodeId="59", childId="0"]
    hvacThermostat Hallway_HystLowVar3 [nodeId="59", childId="0"]
    hvacThermostat Hallway_HystHighVar4 [nodeId="59", childId="0"]
    hvacThermostat Hallway_UpdateTimeVar5 [nodeId="59", childId="0"]
    }
    sitemap
    Group label="Thermostats" icon="heating"{
    Frame label="Hall"{
    Text item=Hallway_Temperature
    Text item=Hallway_FlowState label="State [%s]"
    Setpoint item=Hallway_SetPoint label="Set point [%.1f]" icon="temperature" minValue="0.0" maxValue="32.0" step="0.1"
    Text item=Hallway_KnobTempVar1 label="Knob temperature" //Knob temperature
    Text item=Hallway_FlowMode //Running mode
    Setpoint item=Hallway_HystLowVar3 label="Hysteresis L [%.1f]" minValue="0.0" maxValue="5.0" step="0.1"
    Setpoint item=Hallway_HystHighVar4 label="Hysteresis H [%.1f]" minValue="0.0" maxValue="5.0" step="0.1"
    Setpoint item=Hallway_UpdateTimeVar5 label="Update time (s) [%d]" minValue="1" maxValue="4096" step="1"
    }
    }

    OpenHardware.io temperature floor heating uponor thermostat mysensors wirsbo

  • 💬 Wirsbo/uponor thermostat
    D Denke

    Hi Tomas
    I have only replaced the thermostats not anything else in the system.
    This thermostat is a replacement of my Cosy thermostat (art no 804661), but i think it should work also for the following article numbers (80466, 80465, 804651 and 80464). This thermostat only works as a on/off for the valve, I did not spend any time on the night temp function. I have connected the thermostat to a transformer unit (art no 80460) which in principle only converts 220 v to 24 V which is then connected to the thermostat. When the thermostat turns on it passes on the ~24 V signal to the valve.

    I will upload a schematic to the project

    OpenHardware.io temperature floor heating uponor thermostat mysensors wirsbo

  • openHAB 2.0 binding
    D Denke

    Hi all
    I have a problem when my raspberry pi and mysensors/openhab when i do a restart. The problems seems to be ralated to the serial gateway and that the openhab dont find it or has the wrong settings.

    Openhab starts when i make a reboot

    I checked the serial by typing
    stty -F /dev/ttyUSB0
    response was
    0_1478456625054_image.png
    Seems here that the baudrate is wrong as my settings in the things file is
    0_1478456718472_image.png

    What i did to make it work was just to change this to use baud 9600 and then back to baud = 115200
    after this it looked like
    0_1478456804927_image.png

    And everything started to work nicely

    Does anyone now what the cause of this is and also how to fix it?

    OpenHAB

  • Mini motion detector based on Biltema PIR LED
    D Denke

    And now everything is connected together.
    I had to change some values on the resistors.
    R6 = 10k and C4 = 10 nF gives 2.5 seconds ON time. I also changed the sensitivity from 4 s to 0.05 Seconds, I am considering changing this a bit to some greater value to increase the time some.
    0_1467401515375_20160701_211141_resized.jpg

    I also need to do some changes to the Arduino board as the on led is always on and i think i should remove the regulator to save some more power.
    0_1467401637801_20160701_211414_resized.jpg

    My Project

  • Mini motion detector based on Biltema PIR LED
    D Denke

    Just for the fun off it i bought a Biltema presence controlled LED lamp for 79 SEK ~9$ having in mind that i should be able to use the nice box and interior to build myself a "cheap" motion detector to add to mySensors project.
    http://www.biltema.se/sv/Bygg/Belysning-och-lampor/LED/Narvarostyrd-minilampa-2000033627/
    0_1467310431115_upload-3f038b83-a2e6-4877-ab23-df86212a2294

    I started by opening the lid and remove the board. This was a little troublesome as i had to compress the battery connector to get it out of its position, but i managed.
    After that i tested different ways of how to fit in the Arduion mini and the RF in to the box. Unfortunatly i could not get it in without making the PIR sensor board smaller. I just cut down the board at the near the GND connector.
    0_1467310992647_20160630_200507_resized.jpg
    After this i had cut off the VCC and the motion output so i had to fix that by soldering wires for VCC and motion output shown below. connected pin1 and 8 fixin the VCC. and solderded the Via hole to the testpoint to fix the motion output from pin 2. Also i needed to cut the track just right of C3 to disable the fotoresistor so that the sensor work also in daylight.
    0_1467311039674_20160630_200521_resized.jpg
    I assembled back the board. Also you will need to replace the LED with a 10k ohm resistor (to reduce the current when activating) and then connect the Arduino sensor input to the R3 right side. This should give an active low trigger pulse.
    0_1467311108122_20160630_200619_resized.jpg
    And then i placed the component as i see that they should fit.
    0_1467311150618_20160630_201015_resized.jpg
    Now comes the next step to wire the R Fboard to the Arduino and then connect the motion output to the input of the Arduino.
    There might be some changes needed for setting up the right length of the pulses on the motion detector. I have to investigate which of the R's and C's just right to the detector that does this.

    This is as how far i came today.

    Hopefully this will be one of those projects i finish.

    I will make updates on the progress

    My Project

  • openHAB 2.0 binding
    D Denke

    @Denke
    I cant find V_PRESSURE connected to CHANNEL_BARO below, can that be the reason?

    0_1466112268981_upload-f457bebe-d1b9-41d0-9f82-a7c55307e5d5

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    Hi
    Is there anybody that have had a problem with the S_BARO and the V_PRESSURE channel?

    I try to send a value on this channel as 1.2 I can see that the serial gateway receives it

    23:10:51.808 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;9;read: 163-163-0 s=10,c=1,t=4,pt=7,l=5,sg=0:1.2

    I set up the channel as i have done for alot of other channels through the paper ui. where i link the channel to an item.

    The item file looks like this
    String Pool_Pressure "Pressure [%s]" <pressure> (gPool)

    the sitemap file looks like this
    Text item=Pool_Pressure

    result is this
    0_1466111768156_upload-9d8b8d90-c258-4979-b27f-0162a9ffcdc5

    The field never gets updated.
    any suggestions?

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    @meju25 I saw this from a management perspective.
    I have one device, my pool controller, that has multiple sensors and also channels per sensor just as HVAC that has a sum of channels. In my case i implemented a number of sensors in different types of channels "S_HVAC, S_LIGHT,...." what i see that it gets messy when you try to see if the channels are active or the pool control is active it has multiple sensors.

    So maybe a suggestion is to maybe implement this in the mysensors instead of in the openhab binding.
    In that case i would like to add something that allows me to tell what channels are in a "sensor" by combining differnt channels and sensor types.

    I don't know if i got my message through.

    But all this is mainly for management of my devices so that this gets less messy

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    Merging sensor to one

    Hi
    I have been thinking and i think it would be nice if there is a way to merge sensor data to one in the mysensors binding.

    Background
    I am trying to build a pool control based on mysensors and i have a lot of options that i wan it to handle. For example:

    • on/off of my pool pumps (S_LIGHT)
    • on/off of lights around the pool (S_LIGHT)
    • thermostat function for heaters (S_HVAC)
    • measuring pressure on pump (S_BARO)
    • measuring consumed power on pump (S_POWER)

    All this are using the same sensor ID and getting own child IDs. When they now are brought in to openhab they appear as single sensors

    Is there a possibility to get an automatic merge for thes combined sensors?

    And what do you think about the idea.
    Or is there already a solution that exist that I am not aware about

    example from paper UI
    0_1465935938914_upload-2840e8d0-1b09-4aa8-965a-4193011e843b

    with openhab poolcontrol view
    0_1465936019282_upload-4ee31603-3e67-467c-86ff-d93a758d56d3

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    Hi all

    Implemented a barometric sensor "pressure meter" that i sample in the sensor. Then i send the value Through "BARO". I can see in both the sensor output and the openhab debug that i receive a value for example "1.2".

    I try to display this in the openhab and i dont get the Text item to update.

    Anyone know how this can be as i have other values that i am able to display.

    line in .items
    String Pool_Pressure "Pressure (bar) [%s]" <pressure> (gPool)

    line in .sitemap
    Text item=Pool_Pressure

    any help is appriciated as i have tried different options with Number and so on

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    @TimO said:

    log:set DEBUG org.openhab.binding.mysensors

    I tried this. From what i can see after doing some attempts to connect.
    First & second attempt
    This is what i get after just opening the serial gateway thing and edit and sav, seems as openhab then tries to reconnect with the gateway.
    0_1463350468146_upload-96877953-253b-4800-8495-1e83cf5d5892
    third attempt
    It seems like it gets connected, bu some error occurs which closes the connection again
    0_1463350411600_upload-4aea5dab-27aa-496e-be87-573dec9aa14a
    Forth attempt actually seemed to get things going
    0_1463350715950_upload-2c6d1d0a-d032-4bce-b520-ff47cf51f982

    Now to the next step.
    I have a device that was just given a new address from the my sensor binding. I restarted the sensor and waited to see it in the inbox (this is something that i have seen working occasionally( sometimes it gets in there sometimes it don't. I added the device manually and it seems to work. How ever my links dont work

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    Hi all
    Im having major difficulties getting openhab to discover my serial gateway. I have had it working and i have got input from my sensors. But every know and then when i have restarted the computer the serial gateway is offline. The COM port is active and working according to Windows.
    I have tried to restart the computer, unplug and plug the usb several times. Doing this i have at some occasions got everything to work again.

    Any suggestions what it can be that is being the problem.

    I also think i have found a bug.

    If i for example take the gateway or an sensor that has been added which is marked off line. Then if i press edit on that one and just press the "save" button then it shows that it is on line even though i seriously doubt it is. As i dont get data from my sensors.

    Also how do i get the debug window (console view) to show for openhab?

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    @Denke
    You look and you look, then you ask someone how to do.

    Then you look again and you find it:)
    , true after the set message in send did the trick.
    gw.send(msgSetpointHeat.set(setTemp,1),true);

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    @andreacioni
    Hi I have trouble finding out how to get my node to request ack, do you know how. I think i have figured out how to handle incoming message to check that the ack is received ant that is through message.isAck().

    But how do i get the node to send a request for ack?

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    Does the ack signaling work in the binding? I have a sensor that will request an ack from the gateway. Does anyone know if this is working?

    OpenHAB

  • openHAB 2.0 binding
    D Denke

    @hek SO if i understood it correctly from reading info from this link. My question below is answered by that it is beeing implemented as we sspeak?

    OpenHAB
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular