Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




4452 posts

Uber Geek
+1 received by user: 685

Trusted

# 235926 10-May-2018 08:14
One person supports this post
Send private message

I'm fairly all in on OpenHAB....but I see discussions about Home Assistant, and there are aspects of it I like (python vs java, and the number of addons for pre bought toys).

 

Now a caveat, I don't have a lot of pre bought toys, most of mine are mqtt based, scripts (integration to paradox, temp sensors based on raspberry pi/esp8266/homie).

 

For these I've found the homeassistant less than simple to set up as all the sensors are in the configuration.yaml or now a sensors.yaml, the config isn't "Pretty" nor straight forward in my eyes.   I can get over that....but I don't seem to be able to groupd things nicely.

 

My HASS looks like:

 

Click to see full size

 

You can see the single Sensor for Cupboard (23.10) and in the switches the Cupboard (its a rasp pi controlled fan).

 

In openhab, I can group all these together (and you can see all the extras I also have)

 

Click to see full size

 

This is the main screen, then the Cupboard group, you can see all the entries in there, how does this work in HASS? and how can you get a similar look - or am I just barking up the wrong tree?

 

 

 

@sumnerboy @ajobbins @bartender @chris021

 

 





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
2603 posts

Uber Geek
+1 received by user: 312

Trusted

  # 2013116 10-May-2018 09:34
Send private message

How are your temp sensors made?







4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013146 10-May-2018 10:20
One person supports this post
Send private message

sonyxperiageek:

 

How are your temp sensors made?

 

 

Which one?  cool  I have some zwave multisensors, one is raspberry pi with DHT22 connected (using python to mqtt), two are esp8266 using mqtt (homie framework), and there are also some that are on a raspberry pi with a bluetooth adapter, that pulls blutooth advertising packets and pushes these out via mqtt.

 

 





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


 
 
 
 


160 posts

Master Geek
+1 received by user: 61


  # 2013176 10-May-2018 10:29
Send private message

Watching this thread with keen interest as I'm new to HASS, because I dislike Java, and felt Python has more potential.




4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013185 10-May-2018 10:37
Send private message

So in open have all these exist in one config file (with other items that use a dht sensor.

 

[code]

 

Number gf_cupboard1_temperature_sensor {mqtt="<[openhab:sensors/dht/cupboard/temperature/degrees:state:default]"}
Number gf_cupboard1_temperature_max "Todays Maximum [%.1f °C]" <temperature> (g_cupboard)
Number gf_cupboard1_temperature_min "Todays Minimum [%.1f °C]" <temperature> (g_cupboard)

 

Number gf_cupboard1_uptime "Uptime [%s]" <clock> (g_cupboard) {mqtt="<[openhab:sensors/dht/cupboard/$uptime:state:default]"}
Contact gf_cupboard1_online "Online [%s]" (g_cupboard) {mqtt="<[openhab:sensors/dht/cupboard/$online:state:MAP(onoff.map)]"}

 

/* Fan control switch */
Switch gf_cupboard1_fan "Fan Control [%s]" <fan> (g_cupboard,g_controlpersist) ["Switchable"] {mqtt=">[openhab:sensors/dht/cupboard/fan:command:ON:1],>[openhab:sensors/dht/cupboard/fan:command:OFF:0],<[openhab:sensors/dht/cupboard/fanstate:state:default]"}

 

[/code]

 

In HASS I have a sensors.yaml being read....would be nice to break them down further, but I couldn't get the directory loading to work./

 

 

#master bedroom
- platform: mqtt
name: 'Master Bedroom'
state_topic: sensors/dht/brmaster/temperature/degrees

 

#Cupboard bedroom
- platform: mqtt
name: 'Cupboard'
state_topic: sensors/dht/cupboard/temperature/degrees

 

#Garage
- platform: mqtt
name: 'Garage'
state_topic: sensors/d1mini/garage-sensor/temperature/degrees

 

 

But I can see a way of assigning them to a group or location to pretty up the interface"





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Awesome
4845 posts

Uber Geek
+1 received by user: 1099

Trusted
Subscriber

  # 2013244 10-May-2018 11:28
One person supports this post
Send private message

In my configuration.yaml I have the following:

 

group: !include groups.yaml

 

and then a separate file called groups.yaml that looks like this:

 

Click to see full size

 

which does this in the UI:

 

Click to see full size

 

Note you can have multiple tabs. I have my cameras in a separate tab.





Twitter: ajobbins




4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013246 10-May-2018 11:32
Send private message

ok, so that seems to be the equivalent (almost) to a sitemap in OH, so where are the entities?  like the aeotec sensors?

 

 





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Awesome
4845 posts

Uber Geek
+1 received by user: 1099

Trusted
Subscriber

  # 2013251 10-May-2018 11:37
Send private message

davidcole:

 

ok, so that seems to be the equivalent (almost) to a sitemap in OH, so where are the entities?  like the aeotec sensors?

 

 

If you go to <<YOUR-HA-URL>>/dev-state (or click the < > icon under Developer Tools on the left panel), you can see all the entities and their names. Grab the name and put it in a group.

 

Click to see full size





Twitter: ajobbins


 
 
 
 




4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013253 10-May-2018 11:39
Send private message

ajobbins:

 

davidcole:

 

ok, so that seems to be the equivalent (almost) to a sitemap in OH, so where are the entities?  like the aeotec sensors?

 

 

If you go to <<YOUR-HA-URL>>/dev-state (or click the < > icon under Developer Tools on the left panel), you can see all the entities and their names. Grab the name and put it in a group.

 

 

But where are these all defined, or are all yours prebuilt toys?  So You've not had to configure them?





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Awesome
4845 posts

Uber Geek
+1 received by user: 1099

Trusted
Subscriber

  # 2013255 10-May-2018 11:42
Send private message

davidcole:

 

But where are these all defined, or are all yours prebuilt toys?  So You've not had to configure them?

 

 

Pretty much all using HA components that result in the entity creation. 





Twitter: ajobbins




4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013259 10-May-2018 11:44
Send private message

ajobbins:

 

davidcole:

 

But where are these all defined, or are all yours prebuilt toys?  So You've not had to configure them?

 

 

Pretty much all using HA components that result in the entity creation. 

 

 

Booo, and you call yourself a geek. tongue-out  

 

So I think I was on the right path.  Create all the sensors things, then the next step if to do all that group and entities stuff you've got.

 

 





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Minimalist
5573 posts

Uber Geek
+1 received by user: 473

Moderator
Trusted
Lifetime subscriber

  # 2013267 10-May-2018 11:50
One person supports this post
Send private message

@ajobbins > @davidcole

THE END

32 posts

Geek
+1 received by user: 8

Fusion Automation
Subscriber

  # 2013282 10-May-2018 12:05
Send private message

David, which one do you prefer to use going forward?

 


I use OpenHAB for special jobs at the moment, but few customers said I should try Home Assistance




4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013289 10-May-2018 12:13
Send private message

I currently prefer openHAB. And are just building a new odroid based system.

But I’ll keep playing with hass as there are good aspects to it




Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


'That VDSL Cat'
10507 posts

Uber Geek
+1 received by user: 2527

Trusted
Spark
Subscriber

  # 2013385 10-May-2018 13:34
Send private message

graphing (storing and reterving) was the biggest downfall in HA for me. i found i couldn't mix wanting a long term view and short term without it totally killing browsers in GPU draws.





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.




4452 posts

Uber Geek
+1 received by user: 685

Trusted

  # 2013449 10-May-2018 14:52
Send private message

hio77:

 

graphing (storing and reterving) was the biggest downfall in HA for me. i found i couldn't mix wanting a long term view and short term without it totally killing browsers in GPU draws.

 

 

I tend to have all my data directly in influxdb....and use grafana separately for graphing....but not extensively.

 

 

 

I assume HA has some sort of single state persistence?  In OH it's called mapdb.  With Series data going to influx/mysql

 

 





Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Huawei's scholarship programme showcases international business to Kiwi undergrads
Posted 22-Jul-2019 17:53


Spark Sport launches across a range of new devices
Posted 22-Jul-2019 13:19


Dunedin selects Telensa to deliver smart street lighting for 15,000 LEDs
Posted 18-Jul-2019 10:21


Sprint announces a connected wallet card with built-in IoT support
Posted 18-Jul-2019 08:36


Educational tool developed at Otago makes international launch
Posted 17-Jul-2019 21:57


Symantec introduces cloud access security solution
Posted 17-Jul-2019 21:48


New Zealand government unveils new digital service to make business easier
Posted 16-Jul-2019 17:35


Scientists unveil image of quantum entanglement
Posted 13-Jul-2019 06:00


Hackers to be challenged at University of Waikato
Posted 12-Jul-2019 21:34


OPPO Reno Z now available in New Zealand
Posted 12-Jul-2019 21:28


Sony introduces WF-1000XM3 wireless headphones with noise cancellation
Posted 8-Jul-2019 16:56


Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20


New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09


ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05


New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.