Ankündigung

Einklappen
Keine Ankündigung bisher.

Need guidance to get SmartVISU and KNX running

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    I'm also having a little problem with starting the Eibd daemon upon boot. I manually have to start it with this cmd:
    sudo eibd -D -S -T -i --eibaddr=0.0.1 --daemon=/var/log/eibd.log --no-tunnel-client-queuing ipt:10.0.0.85.
    This command is picked from this site:
    http://ekblad.org/knx/.
    Shouldn't Smarthome.py be able to start the daemon upon boot?

    Kommentar


      #17
      Hey Sjefen,

      at first make sure that smartvisu.conf is edited and saved as "UTF-8 without BOM". So you will get rid of the ERROR in your debuglog.

      Did you use the image which is available for Raspi or did you set it up from scratch?

      Regards,
      Bernd

      Kommentar


        #18
        just put the eibd command in a normal linux startup script?

        Kommentar


          #19
          Finally I've got some KNX values on my smartvisu page I changed

          [cli]
          class_name = CLI
          class_path = plugins.cli
          ip = '0.0.0.0' from 127.0.0.1
          update = True

          in usr/smarthome/etc/plugins.conf.

          But now I've got temperature visualized, but not the temperature setpoint or modes. The graphics are invisble for those last items (no buttons or values displayed)

          Kommentar


            #20
            I don't understand why it requests the invalid items marked as red below. I haven't defined those GA's anywhere.

            Code:
            Init SmartHome.py 1.0-5-g5300605
            2015-12-05 12:05:19 INFO     Main         Start SmartHome.py 1.0-5-g5300605
            2015-12-05 12:05:19 INFO     Main         Init Scheduler
            2015-12-05 12:05:19 INFO     Main         Init Plugins
            2015-12-05 12:05:20 INFO     Main         using local ip address 10.0.0.49
            2015-12-05 12:05:21 INFO     Main         Init Items
            2015-12-05 12:05:22 ERROR    Main         Item Kjeller.hobbyrom.heating.mode: problem creating: ()
            2015-12-05 12:05:22 ERROR    Main         Item Kjeller.hobbyrom.heating.state: problem creating: ()
            2015-12-05 12:05:22 INFO     Main         Start Plugins
            2015-12-05 12:05:22 INFO     Main         Start Logics
            2015-12-05 12:05:28 INFO     hello        Hello World!
            2015-12-05 12:05:33 INFO     sonos-update Starting new HTTP connection (1): 127.0.0.1
            2015-12-05 12:05:33 INFO     sonos-update Sonos: Message http://127.0.0.1:12900 {'parameter': {'ip': '10.0.0.49', 'port': 9999}, 'command': 'client_subscribe'} successfully sent - 200 OK
            2015-12-05 12:05:33 INFO     sonos-update Starting new HTTP connection (1): 127.0.0.1
            2015-12-05 12:05:33 INFO     sonos-update Sonos: Message http://127.0.0.1:12900 {'parameter': {'group_command': 0, 'uid': 'rincon_b8e937b43b6c01400'}, 'command': 'current_state'} successfully sent - 200 OK
            2015-12-05 12:05:35 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
            Traceback (most recent call last):
              File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                exec(obj.bytecode)
              File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                sh.first.living.temperature(random.randint(20, 23))
            AttributeError: 'SmartHome' object has no attribute 'first'
            2015-12-05 12:05:35 ERROR    SQLite dump  Method SQLite dump exception: float() argument must be a string or a number
            Traceback (most recent call last):
              File "/usr/smarthome/lib/scheduler.py", line 344, in _task
                obj()
              File "/usr/smarthome/plugins/sqlite/__init__.py", line 160, in _dump
                self.update_item(item)
              File "/usr/smarthome/plugins/sqlite/__init__.py", line 147, in update_item
                val = float(item())
            [COLOR=#FF0000]TypeError: float() argument must be a string or a number
            2015-12-05 12:05:53 WARNING  Main         Client 10.0.0.2:54971 requested invalid item: 15/1/50/10.xxx
            2015-12-05 12:05:53 WARNING  Main         Client 10.0.0.2:54971 requested invalid item: 15/1/52/10.xxx
            2015-12-05 12:05:53 WARNING  Main         Client 10.0.0.2:54971 requested invalid item: 15/1/51/10.xxx
            2015-12-05 12:05:53 WARNING  Main         Client 10.0.0.2:54971 requested invalid item: 15/1/53/10.xxx[/COLOR]

            Kommentar


              #21
              Hi,
              Just wanted to update you on the matter of post #20. Seems these GAs' are default in the index.html for moonphase values etc..

              But still haven't found a solution on the termostat (rtr widget) which only shows actual temperature and hides the other values and buttons within the frame.
              Thanks for all your help and support! Would have got this up and running without You and this great forum

              Kommentar

              Lädt...
              X