Hop til indhold

Christian Bille

Members
  • Antal indlæg

    143
  • Medlem siden

  • Senest besøgt

Indlæg skrevet af Christian Bille

  1. Light_Stue er et wireless ø80 lampeudtag

    nu ser det ud som følgende:

    
     

    2019-02-25 11:05:44.359 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 11:05:44.365 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 11:05:44.371 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 11:05:44.376 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    ==> /var/log/openhab2/events.log <==

    2019-02-25 11:05:47.845 [ome.event.ItemCommandEvent] - Item 'Tryk_LightStue' received command ON

    så der er stadig problemer med text item. men den tænder heller ikke lyset.

  2. Bare lige så vi er helt enige, så er her min opsætning:

    IHC.cfg:

    Controller IP address
    ip=192.168.1.3
     
    Username and password for Controller
    username=admin
    password=50347
     
    Timeout for controller communication
    timeout=5000
     
    IHC.Items:
     
    Group:Switch:OR(ON, OFF) gV "PushButton 300ms [%s]"
     
    Switch Light_STUE "Loftudtag ved spisebord [%s]" <light> ["Lighting"] {ihc="714078"}
    Switch Tryk_LightStue "Tænd/Sluk Loftudtag ved spisebord [%s]" <WallSwitch>     (gV) ["Switchable"]  {ihc=">[ON:3864668:100]", autoupdate="false"}
     
    Hjem.sitemap:
     
    sitemap hjem label="Hjem" {
     
    Text item=Light_Stue
    Switch item=Tryk_LightStue mappings=[ON=Kip]
     
    }

    Som sagt virker KIP knappen, den kommer i loggen:

    2019-02-25 09:57:36.951 [ome.event.ItemCommandEvent] - Item 'Tryk_LightStue' received command ON

     

    Men der er fejl på dette element:

     

    2019-02-25 10:00:29.385 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 10:00:29.391 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 10:00:29.396 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 10:00:29.399 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

     

    Light_Stue er sat til at kigge på lampeudtag(recurce ID) og "KIP" er sat til selve trykknappen.

    Finder der ikke en måde at få en rapport eller liste over alle recurceID fra sit projekt, istedetfor at skulle kigge manuelt på dem alle?

  3. Samt melder den fejl på text elementet:

    
     

    2019-02-25 07:50:29.509 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 07:50:29.517 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 07:50:29.522 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 07:50:29.527 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

  4. Ups havde lige glemt at ændre Hjem.sitemap.

    Så nu ser log sådan ud:

    
     

    2019-02-25 07:45:32.034 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'hjem.sitemap'

    2019-02-25 07:45:35.699 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 07:45:35.709 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 07:45:35.713 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    2019-02-25 07:45:35.716 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Light_Stue' for widget org.eclipse.smarthome.model.sitemap.Text

    ==> /var/log/openhab2/events.log <==

    2019-02-25 07:45:44.421 [ome.event.ItemCommandEvent] - Item 'Tryk_LightStue' received command ON

    2019-02-25 07:45:51.159 [ome.event.ItemCommandEvent] - Item 'Tryk_LightStue' received command ON

  5. log:

    
     

    [4,13]: required (...)+ loop did not match anything at input ':'

    [6,8]: required (...)+ loop did not match anything at input 'Light_STUE'

    [7,1]: missing EOF at 'Switch'

    2019-02-25 07:22:39.451 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'hjem.sitemap' has errors, therefore ignoring it: [4,6]: required (...)+ loop did not match anything at input ':'

    [4,13]: required (...)+ loop did not match anything at input ':'

    [6,8]: required (...)+ loop did not match anything at input 'Light_STUE'

    [7,1]: missing EOF at 'Switch'

  6. nu virker det i openhab delen, men der sker ikke noget med lyset! (Havde ikke samme navn på item og det item jeg kaldte på)

    
     

    2019-02-22 11:33:25.596 [ome.event.ItemCommandEvent] - Item 'Light_Stue' received command ON

    2019-02-22 11:33:25.612 [vent.ItemStateChangedEvent] - Light_Stue changed from NULL to ON

    2019-02-22 11:33:30.946 [ome.event.ItemCommandEvent] - Item 'Light_Stue' received command OFF

    2019-02-22 11:33:30.957 [vent.ItemStateChangedEvent] - Light_Stue changed from ON to OFF

    2019-02-22 11:33:50.579 [ome.event.ItemCommandEvent] - Item 'Light_Stue' received command ON

    2019-02-22 11:33:50.592 [vent.ItemStateChangedEvent] - Light_Stue changed from OFF to ON

×
×
  • Tilføj...

Important Information

Privatlivspolitik og We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

1200x630bb.png

ok