Recent Posts

Pages: [1] 2 3 ... 10
Marketplace / Why Dianemo-Rpi2 ?
« Last post by totallymaxed on Today at 11:14:00 am »
Dianemo-Rpi2 - making programming & customization easy
A New Era in Smart Home Technology

In Dianemo-Rpi2 we didn't just want to build a smaller more efficient Dianemo system we also wanted to make it much more accessible to ordinary users. We wanted to make customizing Dianemo-Rpi2 by adding new code much easier for people who are not experienced at writing code and in parallel we also wanted to make laying out & designing UI's a much richer and more visual experience.

Adding the code for a new device template or scenario will be a simple process dragging, dropping and connecting visual objects together. The objects will be written under the hood in Python, and if you are a Python programmer you can create your own objects and add them to the system (these objects will be shareable between users/systems). The process of creating the code for a Device Template will involve dragging some pre-built objects into the editor and connecting them together to indicate how data should be passed from one object to another. If say your device takes input from an door bell for example and needed to react to the button being pressed you would drag out a 'Switch' object and 'watcher' object and connect the 'watcher' object to the 'Switch' objects output. Now when the 'Switch' object changed state ie someone pressed the door bell your system would be alerted by the 'watcher' object and could react in some way. This is a simple example but it explains the high level visual process of adding code to Dianemo-Rpi2.

If you know Python and your device template needs something special that is not in the object library already then you can create a new object by writing some Python code and adding it to it. Most users will not need to know or code in Python and will simply use the standard Objects. Once you have created the logic of your Device Template then you can then layout any UI screens your template needs visually too. Simply drag & drop buttons, sliders & other UI controls into position and associate the UI screen with the visual code object you created earlier and you have a complete Device Template. Device Templates can be shared with other users easily too.

The same visual editing process will make changing or creating Dianemo-Rpi2 UI skins just as easy. Simply open the UI screen you want to modify in the visual layout editor and make any changes by dragging button objects or any others around, add new objects or adjust the layout visually. When your happy with your changes save them. If you are comfortable editing HTML5/Javascript in a text editor then you can edit UI skins that way too. As with Device Templates UI skins can also be shared easily with other Dianemo-Rpi2 users too.

We hope Dianemo-Rpi2 will provide a powerful and accessible visual environment for customizing and extending the system while also providing a rich Python based coding environment for those who know Python and have coding experience. Hopefully both types of user will find Dianemo-Rpi2 a great environment to build and develop in. Obviously I am only providing a very basic overview here and I hope to be able describe more details and in depth examples in the future.

As ever please if you have questions either email them to us here; or post your question here in this thread.

All the best

Developers / Re: Developing a Weather Plugin, videos
« Last post by SBCC on March 29, 2015, 06:22:01 pm »
Hi Carlos

I made some changes to the NOAA class. Added the Radar to the wrap and changes the radar image sequence to oldest 1st and limited it to just 3.

Great job with this!!

I will add the night icons to NOAA as well once they are included.

Here is the link

Thanks for all your effort!

Users / Re: mythtv
« Last post by joerod on March 29, 2015, 03:10:21 am »
I had not run apt-get upgrade (at least I dont remember running it), but when I tried to do it today on all mds and the core I got this curious message:

Code: [Select]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 141528 files and directories currently installed.)
Preparing to replace bash 4.1-2ubuntu3 (using .../bash_4.1-2ubuntu3.1_i386.deb) ...
Unpacking replacement bash ...
dpkg: error processing /var/cache/apt/archives/bash_4.1-2ubuntu3.1_i386.deb (--unpack):
 trying to overwrite '/bin/sh', which is also in package dash 0:
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode.
Processing triggers for man-db ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

After that I did this:

Code: [Select]
dpkg-divert --package dash --divert /bin/sh.distrib --add /bin/sh
sudo apt-get install --reinstall bash dash
sudo apt-get upgrade

Everything then upgraded correctly and myth started working again on both mds.  Not sure if this really is a fix or not; but thats what happend...
Users / Re: howto remove mythtv storage directory
« Last post by Esperanto on March 28, 2015, 03:27:43 pm »
Until someone has the right way to do it I commented out line 343 in /usr/pluto/bin/ :


Users / howto remove mythtv storage directory
« Last post by Esperanto on March 28, 2015, 01:19:42 pm »
How can I remove a storage dir in mythtv? I still get some IO issues so I wanted to make sure that liveTV only uses the SSD as temporary storage. However when I remove it in mythsetup it automatically gets added again. What is the proper way to do this? thx.
Users / Re: mythtv
« Last post by Esperanto on March 28, 2015, 01:17:36 pm »
check the mythbackend and frontend logs for errors. Maybe you need to rescan transports or there is a version mismatch.
Users / mythtv not starting on mds
« Last post by joerod on March 28, 2015, 05:43:25 am »
I have two mds and a core running 10.04; its been working great for a long time.  Suddenly one day myth (livetv) on one of the mds stopped working.  It would just get to the menu screen of myth and then suddenly return to the screen saver... (the other md worked fine)  now about one week later the other md is doing too.

Any suggestions on how to troubleshoot the situation?
Users / Re: 1204/1404 HAL replacement !!! Please read!
« Last post by phenigma on March 28, 2015, 04:50:35 am »
Alright these have all been dealt with and should appear for people in the next update.  Let me know if anyone has any issues.  Thanks.

Installation issues / Re: LMCE-1404 20150308181930157 reboot loop
« Last post by mkbrown69 on March 28, 2015, 04:11:54 am »

14.04 is using Samba 4.1, vs the Samba 3 in 12.04. There was/is a bug in the Ubuntu issue tracker for nmbd starting before smbd, so that could be an issue.  There's also two new init scripts in /etc/init.d (samba and samba-ad-dc) which may play into this.  It could also be that the current LMCE managed smb.conf file is not compatible with Samba 4.1.

I haven't looked into this specifically, but I am starting to look at Samba AD support in 14.04 (playing with Zentyal 4 right now).

Just thought I'd point that out as a possibility.  HTH!


Installation issues / Re: LMCE-1404 20150308181930157 reboot loop
« Last post by pigdog on March 27, 2015, 07:22:32 pm »

Tried 20150326121930361 with same results.

Pages: [1] 2 3 ... 10