handle external modification of telldus configuration

Issue #4 resolved
David Karlsson repo owner created an issue

updates should propagate to RawDevice model.

Comments (4)

  1. Geir Gullestad Pettersen

    I've just installed automagically and copied tellstick.conf from my old system (not using automagically).

    How can I manually make automagically aware of the devices that I have already configured in tellstick.conf?

    I tried adding rows to the core_device table, but no luck.

    I also noticed that there are two databases, home_auto and automagically, which seem to have similar sets of tables. Are both used?

    Update: The devices inserted to the core_device table show up on the presets configuration page, but not on raw tellstick devices.

  2. David Karlsson reporter

    (Reply via davi...@gmail.com):

    Hi Geir It will read tellstick.conf and update the database if you just point your browser to http://[IP of your Raspberry PI]/read_config/

    It is supposed to be fully automatic without any choices. But to be honest I havent tried it lately so give it a go and see what happens.

    I know there are two databases but only automagically is in use. The other is a leftover that will be removed in next released image.

    I highly recommend NOT to try altering the database tables directly. Not even I do that as there are a couple of pitfalls there. For example a tellstick device is stored in both core_device and core_rawtellstickdevice tables and those entries needs to be linked correctly or you will have behaviour that is not as intendend.

    The administrative interface is direct table manipulation that takes care of the pitfalls.

    Good luck! If you have further questions feel free to contact me at: david.karlsson.80@gmail.com

    B.R. David

    2012/11/6 Geir Gullestad Pettersen issues-reply@bitbucket.org:

  3. Log in to comment