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.




4914 posts

Uber Geek

Trusted

#235926 10-May-2018 08:14
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
2754 posts

Uber Geek

Trusted

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

How are your temp sensors made?





Sony

 

--

 

NZ TechBlog Follow me on Twitter | My Geekzone blog | Sharesies Referral | Electric Kiwi Referral | UberEats Referral Code: eats-17atx




4914 posts

Uber Geek

Trusted

  #2013146 10-May-2018 10:20
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


 
 
 
 


300 posts

Ultimate Geek


  #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.





Tesla Model S P100DL / Model 3: Feel free to private message me if you need advice buying an Electric Vehicle (EV).
If my advice has been helpful, or you just want free stuff with your purchase, use my referral link to buy your Tesla.




4914 posts

Uber Geek

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
4880 posts

Uber Geek

Trusted
Subscriber

  #2013244 10-May-2018 11:28
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




4914 posts

Uber Geek

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
4880 posts

Uber Geek

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


 
 
 
 




4914 posts

Uber Geek

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
4880 posts

Uber Geek

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




4914 posts

Uber Geek

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
5642 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #2013267 10-May-2018 11:50
Send private message

@ajobbins > @davidcole

THE END

34 posts

Geek

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




4914 posts

Uber Geek

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'
12450 posts

Uber Geek

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.

 




4914 posts

Uber Geek

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




News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



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.