[SOLVED] No update on Sitemap if I add new items to it

I have simple test sitemap and it doesnt show new added item:

sitemap panasonic label="Panasonic" icon="House" {

   
   Frame {
                Switch item=panasonic_c label="Cool Status"
                Switch item=panasonic_h label="Heat Status"
                //Switch item=panasonic_season label="Season Status"
        }
    
    Frame {
                Text item=panasonic_w label="Power W"
                 Text item=panasonic_kwh_cool label="Cool Consumption"
                 //Text item=kwhHeat label="Power Kwh Heat"
                 Text item=panasonic_kwh_heatdiff label="Heat Diff Consumption"
                            
    }
    
    Frame {
                Switch item=Zhender_baypass label="Zhender Bypass"
                Text item=Lauko_TP label="Outside Temperature real"
                Text item=Lueftung_Ablufttemperatur label="Indoor Temperature"
                Text item=panasonic_hwater label="heat water status"
                Text item=Real_air_temp label="Air Temperature"
                item=panasonic_heat_pump_HeatShiftTemp label="Heaht Shift Temperature"
                
            
    }
   
    Frame {
            Switch item=panasonic_heat_pump_Quiet_mode label="Quiet Mode" mappings=[0="Off", 1="Level1", 2="Level2", 3="Level3"]
                Text item=panasonic_heat_pump_HeatShiftTemp label="Heat Shift Temperature"
                Text item=panasonic_heat_pump_walve_state label="3-Way valve status"
                Text item=panasonic_heat_pump_WatOutTarTemp label="Water Outlet Target Temperature"
                Text item=panasonic_heat_pump_ActWatOutTemp label="Outlet Water Temperature"
            
            
    }
}

Cleared chache, restarted, no luck… It doesnt pickup last frame, 2.4 ver on RPi3

Which line in that posted sitemap doesn’t appear in your UI?

If you mean that you’ve added a new Item, then you need to edit that file to add that new Item to your sitemap. It doesn’t happen automatically.

All items are in items file, only this part doesnt show up

Frame {
            Switch item=panasonic_heat_pump_Quiet_mode label="Quiet Mode" mappings=[0="Off", 1="Level1", 2="Level2", 3="Level3"]
                Text item=panasonic_heat_pump_HeatShiftTemp label="Heat Shift Temperature"
                Text item=panasonic_heat_pump_walve_state label="3-Way valve status"
                Text item=panasonic_heat_pump_WatOutTarTemp label="Water Outlet Target Temperature"
                Text item=panasonic_heat_pump_ActWatOutTemp label="Outlet Water Temperature"
            
            
    }

This line is wrong. You should see errors in openhab.log talking about this line. If you were using VSCode with the openHAB extension (which you should) it would underline that line in red telling you it’s wrong.

This line is missing the sitemap element (e.g. “Text”).

1 Like

Its not, in VScode clear. Also I have one sitemap which is deleted, but I can see it…

            Text item=panasonic_heat_pump_HeatShiftTemp label="Heat Shift Temperature"

ls -la /etc/openhab2/sitemaps/
total 24
drwxrwxr-x+ 2 openhab openhabian 4096 Mar 3 2019 .
drwxrwxr-x+ 15 openhab openhabian 4096 Oct 4 2018 …
-rw-rw-r-- 1 openhab openhabian 1039 Mar 3 2019 comfoair.sitemap
-rw-rw-r-- 1 openhabian openhabian 2410 Mar 22 2019 default.sitemap
-rw-rw-r-- 1 openhab openhabian 1660 Nov 13 23:25 panasonic.sitemap
-rw-rw-r-- 1 openhab openhabian 241 May 28 2018 readme.txt

found my error with default sitemap, sorry…

What was the error and post the solution.
Thanks

Just forgot that my default sitmap is different and I was editing old one (used for backup purposes) :slight_smile:

1 Like