powerpolly
(Matthias P)
December 27, 2020, 7:29am
1
playing around with the sematic model I wonder if it is possible to add custom locations like
“ChildrensRoom”, “Sauna”, “FitnessRoom”, “Winecellar” etc..?
I tried to import a textfile with my own locationnames, but those are not shown on the model page then.
In main UI goto model crate location name it whatever you like
Hi powerpolly,
If you are Into textual configuration of things and items (*.items files…) and would like to have your model also in a file you can look into the solution of this thread:
Hi all,
yesterday I changed to OH3 and according to the documentation it is possible to add existing items to the new semantic model when you do the following:
“Existing Items can be added to the model. Browse to the Item in the Items settings, click on Edit and choose an appropriate Semantic Class and Semantic Property. Then add the Point as a member of the appropriate Equipment or Location Group. If the Equipment Group doesn’t exist yet, create a Group and use the appropriate Equipment seman…
Greetings
powerpolly
(Matthias P)
December 27, 2020, 9:14am
4
hi, ok, need to specify my question:
when adding a new location to the model, I can name a Room whatever I want. but from the semantic class selection I`m limited to the predefined ones from that list:
Is it possible to add custom semantic classes?
if not, what are the implications later on if I have multiple Rooms of the same semantic class “Room”?
hannibal29
(Sebastian)
December 27, 2020, 9:43am
5
Short answer: you can not modify the semantic classes
Little more details: as far as I followed this discussion the classes are hard-coded in a core package and also in the UI. There was a pull request to add several new classes merged just before the release of Oh3. A lot more classes were added.
master ← lolodomo:semantics_model
opened 12:17PM - 13 Nov 20 UTC
Related to #1791
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
If you feel still some class missing I think it would be best to join the ongoing discussion on github
opened 08:14AM - 03 Nov 20 UTC
closed 07:30PM - 16 Jun 23 UTC
semantics
I open this topic to help improving the current ontology.
Of course, the ontolo… gy cannot cover all cases but at least it should cover what most of users will need.
Here are the changes proposed in the next messages.
New location entries:
* [x] Apartment (parent=Indoor) PR #1814
* [x] House (parent=Building) PR #1814
* [x] Shed (parent=Building) PR #1814
* [x] SummerHouse (parent=Building) PR #1814
* [x] Second Floor (parent=Floor) PR #1814
* [x] Third Floor (parent=Floor) PR #1814
* [x] BoilerRoom (parent=Room) PR #1814
* [x] Cellar (parent=Room) PR #1814
* [x] Dining Room (parent=Room) PR #1814
* [x] Entry (parent=Room, synonym=Foyer) PR #1814
* [x] Family Room (parent=Room) PR #1814
* [x] Guestroom (parent=Room) PR #1814
* [x] Laundry Room (parent=Room) PR #1814
* [x] Office (parent=Room) PR #1814
* [x] Veranda (parent=Room) PR #1814
* [x] Driveway (parent=Outside) PR #1814
* [x] Patio (parent=Outside) PR #1814
* [x] Porch (parent=Outside) PR #1814
* [ ] Property ???
* [ ] GuestToilet
* [ ] Storage
* [ ] Workshop
* [ ] Passageroom
* [ ] Pool
New location synonyms:
* [x] Corridor: Hallway PR #1814
* [x] Bath Room: Powder Room PR #1814
New equiipment entries:
* [x] Alarm System PR #1814
* [x] Boiler PR #1814
* [x] Doorbell PR #1814
* [x] Fan PR #1814
* [x] Ceiling Fan (parent=Fan) PR #1814
* [x] KitchenHood (parent=Fan) PR #1814
* [x] Pump PR #1814
* [x] Sensor PR #1814
* [x] Television (parent=Screen, synonym=TV) PR #1814
* [x] VoiceAssistant PR #1814
* [x] WeatherService (parent=WebService) PR #1814
* [x] Dishwasher (parent=WhiteGood) PR #1814
* [x] Dryer (parent=WhiteGood) PR #1814
* [x] Freezer (parent=WhiteGood) PR #1814
* [x] Oven (parent=WhiteGood) PR #1814
* [x] Refrigerator (parent=WhiteGood) PR #1814
* [x] WashingMachine (parent=WhiteGood) PR #1814
* [ ] Microwave (parent=???)
* [ ] Fountain
* [x] Lightstripe (Parent=Lightbulb) PR #1814
* [ ] Meter - already covered by Sensor ?
* [ ] ElectrcityMeter (Parent=Meter) - already covered by Sensor ?
* [ ] WaterMeter (Parent=Meter) - already covered by Sensor ?
* [ ] NaturalGasMeter (Parent=Meter) - already covered by Sensor ?
* [ ] Stove
* [x] BackDoor (parent=Door) PR #1814
* [x] CellarDoor (parent=Door) PR #1814
* [x] InnerDoor (parent=Door) PR #1814
* [x] SideDoor (parent=Door) PR #1814
* [x] Gate (parent=Door) PR #1814
* [x] Smartphone PR #1814
New property entries:
* [x] Duration PR #1814
* [x] Illuminance PR #1814
* [x] Level PR #1814
* [x] Opening PR #1814
* [x] Timestamp PR #1814
* [x] Ultraviolet PR #1814
* [x] Vibration PR #1814
Properties removed:
* [x] Illuminance PR #1879
1 Like
powerpolly
(Matthias P)
December 27, 2020, 1:21pm
6
thanks. I created 2 rooms in my cellar, both have semantic class “Room” and the location cards look good:
so what is the advantage of having separate classes like “livingroom” or “bedroom”? is it somehow related to HabBot or do they make life easier if using them in combination with Alexa?