openHAB 2 Basics - Items & Links | Creation and Configuration

  Рет қаралды 56,823

BK Hobby

BK Hobby

Күн бұрын

Пікірлер
@SanchoSanto
@SanchoSanto 6 жыл бұрын
I wish you would've gone into more details on setting up groups. I understood how to set up items and link them but I'm having trouble setting up groups then linking them to things.
@BKHobby
@BKHobby 6 жыл бұрын
I know - I was trying to fit as much information as possible, without getting too deep (Items are definitely a huge topic that I could go on for hours about!) - But, we can work out any issues you're having on the Discord!
@winddancer77
@winddancer77 6 жыл бұрын
This video was really helpful. Just getting started with openhab and couldn't find a way how to group items. 😄
@BKHobby
@BKHobby 6 жыл бұрын
Great to hear that!! Keep watching for more openHAB videos soon :)
@kmtsvetanov
@kmtsvetanov 6 жыл бұрын
Thank you for the interesting video. I'm going to keep watching them. Now i know how to make fast changes in my code.
@BKHobby
@BKHobby 6 жыл бұрын
@Kiril Tsvetanow - Thanks for watching - I'm really happy my videos are helping! :)
@kmtsvetanov
@kmtsvetanov 6 жыл бұрын
Just one question. How to tell the code what items file to use? Can you have more than one items file active ?
@BKHobby
@BKHobby 6 жыл бұрын
@@kmtsvetanov - all of your .items files will be processed by openHAB as soon as you hit save - as long as the file is in the "items" folder, has a ".items" extension, and contains valid item configuration entries, those items & links will be added to the openHAB configuration (you can verify this by looking at the logger output when hitting Save). This is why it's nice to use config files, because if you have, let's say, 200 items, you can divide them up into separate files (lights.items, sensors.items, hvac.items, etc...) and make them more readable to you. Finding/editing them in PaperUI is not as simple....
@andriyyarish8628
@andriyyarish8628 5 жыл бұрын
Clear and nice explanation - thank you!
@Aerogrow
@Aerogrow 4 жыл бұрын
Heads up; if you use simple mode and then try to modify them after = will not work. You have to link them in paperUI non-simple-mode to get the parents group popup to work.
@Magicman8508
@Magicman8508 5 жыл бұрын
Can you please make an example how to use HTTP Bindings? I'm using a self-created device which response to url+get requests. But if i go to paper UI -> Configuration -> Things -> Add Things -> HTTP Binding it shows just an empty page.
@mfreiher
@mfreiher 4 жыл бұрын
Hi, great videos. I am having a problem with my Visual Studio with Win10. When i press items i get "Error while connecting to openHAB REST API. getaddrinfo ENOTFOUND openhabianpi". Set openhab host.
@jointstrike2
@jointstrike2 4 жыл бұрын
how do you get to use visual studio code to edit a file on the pi while its running?
@BKHobby
@BKHobby 4 жыл бұрын
You need to enable the Samba shares (using openhabian-config, for example), then you can just access the pi share (oh-config directory) directly.
@jimyehoo
@jimyehoo 6 жыл бұрын
Wonder if you would make a video on how to add the mqtt definition in the items? I know this maybe ahead of your planning, but I find this part the most powerful part of the openhab and yet very confusing to me. And which OpenHAB extension do you use with the VS Code? I have both openHAB and File Tree view, but they are not like the one you are showing. thanks
@BKHobby
@BKHobby 6 жыл бұрын
@Jim Yeh - That is definitely a good idea, but if you haven't seen them already, watch my videos on the NodeMCU Kube LED controller and multi-sensor, specifically on configuring them with openHAB (they're on my openHAB playlist here - kzbin.info/aero/PLH-d6dcsARGPnXoLnArHDCkOgwfVBDPWd ). Both of those devices use MQTT (sensor for reporting, LED controller for command/status) and I use the item definition to link them to my openHAB config. That said, with version 2.4 of openHAB, there will be a new MQTT version 2 binding available, which I hear will allow auto discovery and configuration of MQTT devices as Things (device) with Channels (MQTT topic). With that, the old style of defining MQTT connections in the items file may very well become moot...
@BKHobby
@BKHobby 6 жыл бұрын
As for your VSCode question, I use OH extension version 0.4.0, with the latest VSCode (1.28.1). Check to make sure you're using those latest versions, as the interface has changed in the last few releases.
@TheMmike87
@TheMmike87 6 жыл бұрын
Hi, How have you added the shortcut openhab in visualstudio code? i opened the folder openhab-conf but i can't search the configured things.. Than i have added a satel alarm binding, the output works fine but the partitions wont arm.. i don't know why... thank you m
@BKHobby
@BKHobby 6 жыл бұрын
@TheMmike87 - please watch my "Edit Configs" video, which shows you how to add the openHAB extension to VSCode, and how to configure it. If you're not seeing the openHAB things and items in your VSCode, that tells me either your extension is not installed, or it's not finding your openHAB server. I unfortunately do not have any experience with the Satel alarms or bindings, but have you checked the openHAB forums at community.openhab.org? You can also join the Discord server (ttps://discord.gg/jUr7J4u) to see if anyone there has any experience with it!
@eskilr
@eskilr 6 жыл бұрын
Hey! I was just wondering if you could do a video about mappings and how to use mappings with for instance the selection element type or switch
@BKHobby
@BKHobby 6 жыл бұрын
@Eskil R - Very good suggestion - I will add it to the "Sitemaps & UIs" video (the next one in the series) since that's where mappings are most useful, anyway. Thanks!
@eskilr
@eskilr 6 жыл бұрын
@@BKHobby It would also be nice if you cold include some simple HSBType explaining
@BKHobby
@BKHobby 6 жыл бұрын
@Eskil R - Ah yes, HSBType conversion to/from RGB gave me fits when I was first trying to do it ;) I'll add it to the list, but probably talk about it when I get to Rules (since that's where it's used the most).
@MarkSouthee
@MarkSouthee 6 жыл бұрын
Shame the Visual Studio openhab extension won't install on the Mac version of Visual Studio. Surprised that no-one has written a Sublime Text openhab package either!
@MarkSouthee
@MarkSouthee 6 жыл бұрын
I should update my comment. I'd downloaded the IDE version of Visual Studio. You need the Code version. Then the extension installs no problem on the Mac version :-)
@BKHobby
@BKHobby 6 жыл бұрын
@Mark Southee - thanks for the update, I'm sure it will help any other Mac users who watch this video! :)
@Lesterandsons
@Lesterandsons 5 жыл бұрын
Thanks a lot
@marekhalmo2813
@marekhalmo2813 5 жыл бұрын
Wow so helpfull!
@adtwomey
@adtwomey 6 жыл бұрын
(from CHAT) nice I didn't get why you in your Things Video you don't use Bindings???? I didn't get why you use your away???
@BKHobby
@BKHobby 6 жыл бұрын
@Aaron Twomey - I'm not sure what you mean? Do you mean why I use the configuration file (addons.cfg)? It's really just a preference for me - I love the config files - again, for a quick restore (basically, just copy my config file directory over a new install, and everything gets automatically installled/restored).
@adtwomey
@adtwomey 6 жыл бұрын
@@BKHobby yep that what I was talking about. Now I get it when you do a quick restore 😀
openHAB 2 Basics - Sitemaps and User Interfaces
15:33
BK Hobby
Рет қаралды 38 М.
openHAB 2 Basics - Setting up Things Channels and Bindings
11:50
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
Automate Your Home with openHAB
27:05
Pro Tech Show
Рет қаралды 27 М.
openHAB 2 Basics - Rules DSL Introduction
15:17
BK Hobby
Рет қаралды 22 М.
Сборник Эксклюзивов 2024 - Уральские Пельмени
1:33:24
Уральские Пельмени
Рет қаралды 599 М.
3 Cisim Problemi: Evren Neden Bu Kadar Kaotik ve Düzensiz?
26:53
Evrim Ağacı
Рет қаралды 547 М.
Новый год 2025 на ТНТ "ComedyVision!" @ComedyClubRussia
1:16:27
openHAB 2 Basics - Persistence
9:24
BK Hobby
Рет қаралды 15 М.
How to use Cloudflare Tunnel in your Homelab (even with Traefik)
23:34
Christian Lempa
Рет қаралды 172 М.
Home Assistant vs OpenHAB - Which one is better?
15:46
Everything Smart Home
Рет қаралды 175 М.