Dashboard UI suitable for tablets

Haha and I seemed to have solved my problem again…

I tried calling the mjpeggrab from within the cgi-bin on the openhab server pointing to the pi camera.
(instead of having it in the cgi-bin on the pi)
that seems to have rendered the whole image.

I’m guessing the pi may have been a little underpowered since there were two cameras on it.

Either way i’m good now :smiley:

Just in case someone is interested, I hacked together a small update-all-states-every-minute ruby function. Basically it polls OpenHab via REST and sends the state JSON value from OpenHab to the appropriately named Dashing widget with send_event. This assumes that your OpenHab name is the same as the widget ID, which should be how everyone has it set up anyway. Uncomment the if statement if you only want specific types, such as dimmable items, etc

First of all, for any widget that doesn’t already have it, you need to add a data update part. For example, for Ohdimmer, I added this to ohdimmer.coffee, which simply sets the state to the json state value

  onData: (data) ->
    #debugger
    #console.log("State is " + @get('state'))
    @set 'state', @get('state')

Then I created this in openhab.rb (you may want to change localhost to be something else, ip address or whatever)

# This will update the status from OpenHab for all Items
# (uncomment if-check to update only specific types)
SCHEDULER.every '1m', :first_in => 0 do |job|
  http = Net::HTTP.new("localhost", 8080)
  http.use_ssl = false
  response = http.request(Net::HTTP::Get.new("/rest/items?type=json"))
  data = JSON.parse(response.body())
  data['item'].each do |child|
    #if child['type'] == "DimmerItem"
      name = child['name']
      s = fetchStatus(name)
      send_event(name, s)
    #end
  end
end

def fetchStatus(id)
  #puts "Got here for " + id
  http = Net::HTTP.new("localhost", 8080)
  http.use_ssl = false
  response = http.request(Net::HTTP::Get.new("/rest/items/"+id+"?type=json"))
  data = JSON.parse(response.body())
  return data
end

Also ensure that the top of openhab.rb has these imports, or it won’t work:

require 'json'
require 'net/http'

The code is far from perfect, I’m not a Ruby programmer, but it should do the trick. Enjoy! Let me know if you improve it :slight_smile:

1 Like

I have Dashing set up and running on a Mac. Does anyone know how to get it running at boot? I have created a LaunchD plist file, but I think I might be calling the wrong actual ‘dashing’ file. Any ideas? My plist is below.

`<?xml version="1.0" encoding="UTF-8"?>

Label local.dashing WorkingDirectory /Users/xxx/Desktop/dashing ProgramArguments /bin/sh /Users/xxx/Desktop/dashing/dashing start RunAtLoad `

Hello everybody!
I’m configuring my dashboard.
I’d like to set a meter but i have 2 question:

  1. the value on openhab have 3 decimal, is possibile tu cut it?
  2. how i can set scale? (i.e. 0w to 3000w)
    Thanks in advance!

Edit:
for the second question, data-bind-data-min=“0” data-bind-data-max=“2500”.

But really don’t understand how to cut 3 decimal!

Did you load the launchD file with “launchctl load -w “plist-file.plist””?

Bye, Frido.

1 Like

You can get rid of the decimals by extracting the integer value of the state. Have a look at the ohdimmer.coffee file and you will see that parseInt(@get('state')) is used to ensure we have only integer values.

Thanks for help.
On the ohmeter widget i have this:

queryState: ->
$.get ‘/openhab/dispatch’,
widgetId: @get(‘id’),
deviceId: @get(‘device’),
deviceType: ‘power’
(data) =>
json = JSON.parse data
@set ‘state’, json.state

Don’t understand how to edit;
I should edit this:?
parseInt(@get(‘device’))

Replace the line @set 'state', json.state with @set 'state', parseInt(json.state)

Alternatively, if you wanted say 1 decimal place, you could use something like @set 'state', parseFloat(json.state).toFixed(1)

Thank you for your help!
i’ll try it soon :slight_smile:

I am getting this error
Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'omniauth’
appreciate if you could help me

It sounds as if some of your dependencies did not install correctly. Did you have any errors during installation? Maybe worth reinstalling anyway.

This one refers to the topic by sebastian_strindlund from Feb 1st regarding the weather widget.

Hello Sebastian,

as I’m fighting the same issue: do you have any idea what did you changed to solve this topic? Or maybe you could share your items.

Thank you.

Jan

For anyone struggling to get this working with openHAB 2, I’ve updated the repo with a simple SSE client that receives the event changes from openHAB into dashing. It’s a bit rough and ready, but has been in use by a few users for a couple of weeks without any issues.

Hi smar,

i installed your dashing like you said. Also i installed the em-eventsource with "gem install em-eventsource."
But when i try to start oh2dashing.rb i got following error:

sudo ruby oh2dashing.rb
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- em-eventsource (LoadError)
	from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from oh2dashing.rb:3:in `<main>'

without sudo i get:

ruby oh2dashing.rb
An error occured:  Connection lost. Reconnecting.
Restarting connection in 10 seconds...
Reconnecting...
An error occured:  Connection lost. Reconnecting.
Restarting connection in 10 seconds...
^C/home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:202: [BUG] Segmentation fault at 0x000000
ruby 2.3.1p112 (2016-04-26 revision 54768) [armv7l-linux-eabihf]

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0017 e:000016 CFUNC  :release_machine
c:0004 p:0036 s:0014 e:000013 RESCUE /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:202
c:0003 p:0385 s:0011 e:000010 METHOD /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:205
c:0002 p:0106 s:0004 E:000b60 EVAL   oh2dashing.rb:46 [FINISH]
c:0001 p:0000 s:0002 E:000b28 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
oh2dashing.rb:46:in `<main>'
/home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:205:in `run'
/home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:202:in `ensure in run'
/home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb:202:in `release_machine'

-- Other runtime information -----------------------------------------------

* Loaded script: oh2dashing.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/encdb.so
    5 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/trans/transdb.so
    6 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/unicode_normalize.rb
    7 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/rbconfig.rb
    8 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/compatibility.rb
    9 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/defaults.rb
   10 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/deprecate.rb
   11 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/errors.rb
   12 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/version.rb
   13 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/requirement.rb
   14 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/platform.rb
   15 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/basic_specification.rb
   16 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/stub_specification.rb
   17 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/util/list.rb
   18 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/stringio.so
   19 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb
   20 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/exceptions.rb
   21 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb
   22 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/monitor.rb
   23 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb
   24 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems.rb
   25 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/path_support.rb
   26 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/dependency.rb
   27 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/version.rb
   28 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/core_ext/name_error.rb
   29 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/levenshtein.rb
   30 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/jaro_winkler.rb
   31 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkable.rb
   32 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/delegate.rb
   33 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   34 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   35 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   36 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
   37 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/null_checker.rb
   38 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean/formatter.rb
   39 /home/pi/.rvm/gems/ruby-2.3.1@global/gems/did_you_mean-1.0.0/lib/did_you_mean.rb
   40 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/rubyeventmachine.so
   41 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/version.rb
   42 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/pool.rb
   43 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/deferrable.rb
   44 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/future.rb
   45 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/streamer.rb
   46 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/spawnable.rb
   47 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/processes.rb
   48 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/iterator.rb
   49 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/buftok.rb
   50 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/timers.rb
   51 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/protocols.rb
   52 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/connection.rb
   53 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/callback.rb
   54 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/queue.rb
   55 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/channel.rb
   56 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/file_watch.rb
   57 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/process_watch.rb
   58 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/tick_loop.rb
   59 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/resolver.rb
   60 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/completion.rb
   61 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/em/threaded_resource.rb
   62 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/shellwords.rb
   63 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/socket.so
   64 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/wait.so
   65 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/socket.rb
   66 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/timeout.rb
   67 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/digest.so
   68 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/digest.rb
   69 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/openssl.so
   70 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/bn.rb
   71 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/pkey.rb
   72 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/cipher.rb
   73 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/config.rb
   74 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/digest.rb
   75 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/x509.rb
   76 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/buffering.rb
   77 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/nonblock.so
   78 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl/ssl.rb
   79 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/openssl.rb
   80 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/securerandom.rb
   81 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/resolv.rb
   82 /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/eventmachine.rb
   83 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/base64.rb
   84 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-socksify-0.3.1/lib/em-socksify/socksify.rb
   85 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-socksify-0.3.1/lib/em-socksify/errors.rb
   86 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-socksify-0.3.1/lib/em-socksify/socks5.rb
   87 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-socksify-0.3.1/lib/em-socksify/connectify.rb
   88 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-socksify-0.3.1/lib/em-socksify/connect.rb
   89 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-socksify-0.3.1/lib/em-socksify.rb
   90 /home/pi/.rvm/gems/ruby-2.3.1/gems/addressable-2.3.6/lib/addressable/version.rb
   91 /home/pi/.rvm/gems/ruby-2.3.1/gems/addressable-2.3.6/lib/addressable/idna/pure.rb
   92 /home/pi/.rvm/gems/ruby-2.3.1/gems/addressable-2.3.6/lib/addressable/idna.rb
   93 /home/pi/.rvm/gems/ruby-2.3.1/gems/addressable-2.3.6/lib/addressable/uri.rb
   94 /home/pi/.rvm/gems/ruby-2.3.1/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
   95 /home/pi/.rvm/gems/ruby-2.3.1/gems/http_parser.rb-0.6.0/lib/http_parser.rb
   96 /home/pi/.rvm/gems/ruby-2.3.1/gems/http_parser.rb-0.6.0/lib/http/parser.rb
   97 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/core_ext/bytesize.rb
   98 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/http_connection.rb
   99 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/http_header.rb
  100 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/http_encoding.rb
  101 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/http_status_codes.rb
  102 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/http_client_options.rb
  103 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/http_connection_options.rb
  104 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/date_core.so
  105 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/date.rb
  106 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/time.rb
  107 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/rfc2396_parser.rb
  108 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/rfc3986_parser.rb
  109 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/common.rb
  110 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/generic.rb
  111 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/ftp.rb
  112 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/http.rb
  113 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/https.rb
  114 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/ldap.rb
  115 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/ldaps.rb
  116 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri/mailto.rb
  117 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/uri.rb
  118 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/cgi/core.rb
  119 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/cgi/escape.so
  120 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/cgi/util.rb
  121 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/cgi/cookie.rb
  122 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/cgi.rb
  123 /home/pi/.rvm/gems/ruby-2.3.1/gems/cookiejar-0.3.3/lib/cookiejar/cookie_validation.rb
  124 /home/pi/.rvm/gems/ruby-2.3.1/gems/cookiejar-0.3.3/lib/cookiejar/cookie.rb
  125 /home/pi/.rvm/gems/ruby-2.3.1/gems/cookiejar-0.3.3/lib/cookiejar/jar.rb
  126 /home/pi/.rvm/gems/ruby-2.3.1/gems/cookiejar-0.3.3/lib/cookiejar/version.rb
  127 /home/pi/.rvm/gems/ruby-2.3.1/gems/cookiejar-0.3.3/lib/cookiejar.rb
  128 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/client.rb
  129 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/multi.rb
  130 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/request.rb
  131 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/zlib.so
  132 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http/decoders.rb
  133 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http.rb
  134 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-http-request-1.1.5/lib/em-http-request.rb
  135 /home/pi/.rvm/gems/ruby-2.3.1/gems/em-eventsource-0.2.1/lib/em-eventsource.rb
  136 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json/version.rb
  137 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/ostruct.rb
  138 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json/generic_object.rb
  139 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json/common.rb
  140 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16be.so
  141 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16le.so
  142 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32be.so
  143 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32le.so
  144 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/parser.so
  145 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/generator.so
  146 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json/ext.rb
  147 /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json.rb

* Process memory map:

00010000-00011000 r-xp 00000000 b3:02 276073     /home/pi/.rvm/rubies/ruby-2.3.1/bin/ruby
00020000-00021000 rw-p 00000000 b3:02 276073     /home/pi/.rvm/rubies/ruby-2.3.1/bin/ruby
007da000-00f30000 rw-p 00000000 00:00 0          [heap]
762ba000-762c5000 r-xp 00000000 b3:02 10546      /lib/arm-linux-gnueabihf/libnss_files-2.19.so
762c5000-762d4000 ---p 0000b000 b3:02 10546      /lib/arm-linux-gnueabihf/libnss_files-2.19.so
762d4000-762d5000 r--p 0000a000 b3:02 10546      /lib/arm-linux-gnueabihf/libnss_files-2.19.so
762d5000-762d6000 rw-p 0000b000 b3:02 10546      /lib/arm-linux-gnueabihf/libnss_files-2.19.so
762e9000-762f1000 r-xp 00000000 b3:02 276845     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/generator.so
762f1000-76301000 ---p 00008000 b3:02 276845     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/generator.so
76301000-76302000 rw-p 00008000 b3:02 276845     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/generator.so
76302000-76303000 r-xp 00000000 b3:02 276901     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32le.so
76303000-76312000 ---p 00001000 b3:02 276901     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32le.so
76312000-76313000 rw-p 00000000 b3:02 276901     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32le.so
76313000-76314000 r-xp 00000000 b3:02 276906     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32be.so
76314000-76323000 ---p 00001000 b3:02 276906     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32be.so
76323000-76324000 rw-p 00000000 b3:02 276906     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_32be.so
76324000-76325000 r-xp 00000000 b3:02 276916     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16le.so
76325000-76334000 ---p 00001000 b3:02 276916     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16le.so
76334000-76335000 rw-p 00000000 b3:02 276916     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16le.so
76335000-7633a000 r-xp 00000000 b3:02 276846     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/parser.so
7633a000-76349000 ---p 00005000 b3:02 276846     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/parser.so
76349000-7634a000 rw-p 00004000 b3:02 276846     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/json/ext/parser.so
7634a000-76360000 r-xp 00000000 b3:02 3242       /lib/arm-linux-gnueabihf/libz.so.1.2.8
76360000-7636f000 ---p 00016000 b3:02 3242       /lib/arm-linux-gnueabihf/libz.so.1.2.8
7636f000-76370000 r--p 00015000 b3:02 3242       /lib/arm-linux-gnueabihf/libz.so.1.2.8
76370000-76371000 rw-p 00016000 b3:02 3242       /lib/arm-linux-gnueabihf/libz.so.1.2.8
76373000-76374000 r-xp 00000000 b3:02 276911     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16be.so
76374000-76383000 ---p 00001000 b3:02 276911     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16be.so
76383000-76384000 rw-p 00000000 b3:02 276911     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/utf_16be.so
76384000-76391000 r-xp 00000000 b3:02 276854     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/zlib.so
76391000-763a0000 ---p 0000d000 b3:02 276854     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/zlib.so
763a0000-763a1000 rw-p 0000c000 b3:02 276854     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/zlib.so
763a1000-763a2000 r-xp 00000000 b3:02 276848     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/cgi/escape.so
763a2000-763b1000 ---p 00001000 b3:02 276848     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/cgi/escape.so
763b1000-763b2000 rw-p 00000000 b3:02 276848     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/cgi/escape.so
763b2000-763df000 r-xp 00000000 b3:02 276922     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/date_core.so
763df000-763ef000 ---p 0002d000 b3:02 276922     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/date_core.so
763ef000-763f0000 rw-p 0002d000 b3:02 276922     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/date_core.so
763f0000-763f1000 rw-p 00000000 00:00 0 
763f1000-763f8000 r-xp 00000000 b3:02 391559     /home/pi/.rvm/gems/ruby-2.3.1/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
763f8000-76408000 ---p 00007000 b3:02 391559     /home/pi/.rvm/gems/ruby-2.3.1/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
76408000-76409000 rw-p 00007000 b3:02 391559     /home/pi/.rvm/gems/ruby-2.3.1/gems/http_parser.rb-0.6.0/lib/ruby_http_parser.so
76409000-7640a000 r-xp 00000000 b3:02 276857     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/nonblock.so
7640a000-76419000 ---p 00001000 b3:02 276857     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/nonblock.so
76419000-7641a000 rw-p 00000000 b3:02 276857     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/nonblock.so
7641a000-7641d000 r-xp 00000000 b3:02 276927     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/digest.so
7641d000-7642c000 ---p 00003000 b3:02 276927     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/digest.so
7642c000-7642d000 rw-p 00002000 b3:02 276927     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/digest.so
7642d000-76472000 r-xp 00000000 b3:02 276842     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/openssl.so
76472000-76482000 ---p 00045000 b3:02 276842     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/openssl.so
76482000-76484000 rw-p 00045000 b3:02 276842     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/openssl.so
76484000-764ab000 r-xp 00000000 b3:02 276852     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/socket.so
764ab000-764ba000 ---p 00027000 b3:02 276852     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/socket.so
764ba000-764bb000 rw-p 00026000 b3:02 276852     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/socket.so
764bb000-764d8000 r-xp 00000000 b3:02 3170       /lib/arm-linux-gnueabihf/libgcc_s.so.1
764d8000-764e7000 ---p 0001d000 b3:02 3170       /lib/arm-linux-gnueabihf/libgcc_s.so.1
764e7000-764e8000 rw-p 0001c000 b3:02 3170       /lib/arm-linux-gnueabihf/libgcc_s.so.1
764e8000-765a9000 r-xp 00000000 b3:02 12399      /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.20
765a9000-765b8000 ---p 000c1000 b3:02 12399      /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.20
765b8000-765bc000 r--p 000c0000 b3:02 12399      /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.20
765bc000-765be000 rw-p 000c4000 b3:02 12399      /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.20
765be000-765c4000 rw-p 00000000 00:00 0 
765c4000-76709000 r-xp 00000000 b3:02 13603      /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
76709000-76719000 ---p 00145000 b3:02 13603      /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
76719000-76726000 r--p 00145000 b3:02 13603      /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
76726000-7672e000 rw-p 00152000 b3:02 13603      /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
7672e000-76732000 rw-p 00000000 00:00 0 
76732000-76777000 r-xp 00000000 b3:02 13605      /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
76777000-76786000 ---p 00045000 b3:02 13605      /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
76786000-76788000 r--p 00044000 b3:02 13605      /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
76788000-7678c000 rw-p 00046000 b3:02 13605      /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
7678e000-7678f000 r-xp 00000000 b3:02 276858     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/wait.so
7678f000-7679e000 ---p 00001000 b3:02 276858     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/wait.so
7679e000-7679f000 rw-p 00000000 b3:02 276858     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/io/wait.so
7679f000-767c2000 r-xp 00000000 b3:02 279642     /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/rubyeventmachine.so
767c2000-767d1000 ---p 00023000 b3:02 279642     /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/rubyeventmachine.so
767d1000-767d3000 rw-p 00022000 b3:02 279642     /home/pi/.rvm/gems/ruby-2.3.1/gems/eventmachine-1.2.0.1/lib/rubyeventmachine.so
767d3000-767d9000 r-xp 00000000 b3:02 276943     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/stringio.so
767d9000-767e8000 ---p 00006000 b3:02 276943     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/stringio.so
767e8000-767e9000 rw-p 00005000 b3:02 276943     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/stringio.so
767e9000-767eb000 r-xp 00000000 b3:02 276892     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/trans/transdb.so
767eb000-767fa000 ---p 00002000 b3:02 276892     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/trans/transdb.so
767fa000-767fb000 rw-p 00001000 b3:02 276892     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/trans/transdb.so
767fb000-7687c000 rw-p 00000000 00:00 0 
7687c000-76a05000 r--p 00000000 b3:02 646        /usr/lib/locale/locale-archive
76a05000-76b30000 r-xp 00000000 b3:02 9255       /lib/arm-linux-gnueabihf/libc-2.19.so
76b30000-76b40000 ---p 0012b000 b3:02 9255       /lib/arm-linux-gnueabihf/libc-2.19.so
76b40000-76b42000 r--p 0012b000 b3:02 9255       /lib/arm-linux-gnueabihf/libc-2.19.so
76b42000-76b43000 rw-p 0012d000 b3:02 9255       /lib/arm-linux-gnueabihf/libc-2.19.so
76b43000-76b46000 rw-p 00000000 00:00 0 
76b46000-76baf000 r-xp 00000000 b3:02 9259       /lib/arm-linux-gnueabihf/libm-2.19.so
76baf000-76bbf000 ---p 00069000 b3:02 9259       /lib/arm-linux-gnueabihf/libm-2.19.so
76bbf000-76bc0000 r--p 00069000 b3:02 9259       /lib/arm-linux-gnueabihf/libm-2.19.so
76bc0000-76bc1000 rw-p 0006a000 b3:02 9259       /lib/arm-linux-gnueabihf/libm-2.19.so
76bc1000-76bc8000 r-xp 00000000 b3:02 9257       /lib/arm-linux-gnueabihf/libcrypt-2.19.so
76bc8000-76bd7000 ---p 00007000 b3:02 9257       /lib/arm-linux-gnueabihf/libcrypt-2.19.so
76bd7000-76bd8000 r--p 00006000 b3:02 9257       /lib/arm-linux-gnueabihf/libcrypt-2.19.so
76bd8000-76bd9000 rw-p 00007000 b3:02 9257       /lib/arm-linux-gnueabihf/libcrypt-2.19.so
76bd9000-76c00000 rw-p 00000000 00:00 0 
76c00000-76c02000 r-xp 00000000 b3:02 9258       /lib/arm-linux-gnueabihf/libdl-2.19.so
76c02000-76c11000 ---p 00002000 b3:02 9258       /lib/arm-linux-gnueabihf/libdl-2.19.so
76c11000-76c12000 r--p 00001000 b3:02 9258       /lib/arm-linux-gnueabihf/libdl-2.19.so
76c12000-76c13000 rw-p 00002000 b3:02 9258       /lib/arm-linux-gnueabihf/libdl-2.19.so
76c13000-76c74000 r-xp 00000000 b3:02 12153      /usr/lib/arm-linux-gnueabihf/libgmp.so.10.2.0
76c74000-76c83000 ---p 00061000 b3:02 12153      /usr/lib/arm-linux-gnueabihf/libgmp.so.10.2.0
76c83000-76c84000 r--p 00060000 b3:02 12153      /usr/lib/arm-linux-gnueabihf/libgmp.so.10.2.0
76c84000-76c85000 rw-p 00061000 b3:02 12153      /usr/lib/arm-linux-gnueabihf/libgmp.so.10.2.0
76c85000-76c99000 r-xp 00000000 b3:02 10689      /lib/arm-linux-gnueabihf/libpthread-2.19.so
76c99000-76ca9000 ---p 00014000 b3:02 10689      /lib/arm-linux-gnueabihf/libpthread-2.19.so
76ca9000-76caa000 r--p 00014000 b3:02 10689      /lib/arm-linux-gnueabihf/libpthread-2.19.so
76caa000-76cab000 rw-p 00015000 b3:02 10689      /lib/arm-linux-gnueabihf/libpthread-2.19.so
76cab000-76cad000 rw-p 00000000 00:00 0 
76cae000-76cb0000 r-xp 00000000 b3:02 276876     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/encdb.so
76cb0000-76cbf000 ---p 00002000 b3:02 276876     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/encdb.so
76cbf000-76cc0000 rw-p 00001000 b3:02 276876     /home/pi/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/armv7l-linux-eabihf/enc/encdb.so
76cc0000-76f33000 r-xp 00000000 b3:02 276075     /home/pi/.rvm/rubies/ruby-2.3.1/lib/libruby.so.2.3.0
76f33000-76f42000 ---p 00273000 b3:02 276075     /home/pi/.rvm/rubies/ruby-2.3.1/lib/libruby.so.2.3.0
76f42000-76f46000 rw-p 00272000 b3:02 276075     /home/pi/.rvm/rubies/ruby-2.3.1/lib/libruby.so.2.3.0
76f46000-76f4d000 rw-p 00000000 00:00 0 
76f4d000-76f52000 r-xp 00000000 b3:02 11994      /usr/lib/arm-linux-gnueabihf/libarmmem.so
76f52000-76f61000 ---p 00005000 b3:02 11994      /usr/lib/arm-linux-gnueabihf/libarmmem.so
76f61000-76f62000 rw-p 00004000 b3:02 11994      /usr/lib/arm-linux-gnueabihf/libarmmem.so
76f62000-76f82000 r-xp 00000000 b3:02 9252       /lib/arm-linux-gnueabihf/ld-2.19.so
76f87000-76f88000 rw-p 00000000 00:00 0 
76f88000-76f89000 ---p 00000000 00:00 0 
76f89000-76f8c000 rwxp 00000000 00:00 0          [stack:22813]
76f8c000-76f91000 rw-p 00000000 00:00 0 
76f91000-76f92000 r--p 0001f000 b3:02 9252       /lib/arm-linux-gnueabihf/ld-2.19.so
76f92000-76f93000 rw-p 00020000 b3:02 9252       /lib/arm-linux-gnueabihf/ld-2.19.so
7e2d3000-7ead2000 rwxp 00000000 00:00 0 
7ec92000-7ec93000 r-xp 00000000 00:00 0          [sigpage]
7ec93000-7ec94000 r--p 00000000 00:00 0          [vvar]
7ec94000-7ec95000 r-xp 00000000 00:00 0          [vdso]
ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abgebrochen

.
For any help I would be very grateful.

Hi @WuGGu. I am by no means an expert in Ruby but from the looks of your first error (with sudo), it seems as if the em-eventsource is not loaded. Can you try adding it to the bottom of your Gemfile (in the root of your dashing folder), i.e, your Gemfile shoud look like:

source 'https://rubygems.org'

gem 'dashing'
gem 'thor'

# Authentication
gem 'oa-openid'
gem 'omniauth-heroku', '~> 0.2.0.pre'
gem 'oauth2'

# JSON
gem 'json'

# Database
gem 'data_mapper'

# Development
group :development do
	gem 'dm-sqlite-adapter'
end

# Production
group :production do
	gem 'dm-postgres-adapter'
end

gem "em-eventsource", "~> 0.2.0"

Run the bundle install command again (also from your dashing folder) and then try starting dashing (with sudo).

i changed the Gemfile an bundled again. But i get the same error.

Maybe it helps to say, it is a Raspberry Pi 3. Change this information anything?

I’m not familiar with RPi 3 installations but have seen posts by others (not related to this error) where they had to do some additional steps to get dashing to work.

The error seems to be saying that the gem is not found. Are you sure it is installed (i.e. what happened when you ran bundle install? Have a look in your gem folder to see if it is there.

Other than checking the above, I’m not sure what else to advise.

“Other than checking the above, I’m not sure what else to advise.”

I’m at the same point. I have the feeling of missing something -.-

Thank you anyway

   Gems included by the bundle:
      * addressable (2.4.0)
      * backports (3.6.8)
      * bcrypt (3.1.11)
      * bcrypt-ruby (3.1.5)
      * bundler (1.12.5)
      * coffee-script (2.2.0)
      * coffee-script-source (1.10.0)
      * cookiejar (0.3.3)
      * daemons (1.2.3)
      * dashing (1.3.7)
      * data_mapper (1.2.0)
      * data_objects (0.10.17)
      * dm-aggregates (1.2.0)
      * dm-constraints (1.2.0)
      * dm-core (1.2.1)
      * dm-do-adapter (1.2.0)
      * dm-migrations (1.2.0)
      * dm-postgres-adapter (1.2.0)
      * dm-serializer (1.2.2)
      * dm-sqlite-adapter (1.2.0)
      * dm-timestamps (1.2.0)
      * dm-transactions (1.2.0)
      * dm-types (1.2.2)
      * dm-validations (1.2.0)
      * do_postgres (0.10.17)
      * do_sqlite3 (0.10.17)
      * em-eventsource (0.2.1)
      * em-http-request (1.1.5)
      * em-socksify (0.3.1)
      * eventmachine (1.2.0.1)
      * execjs (2.0.2)
      * faraday (0.9.2)
      * fastercsv (1.5.5)
      * hashie (3.4.4)
      * hike (1.2.3)
      * http_parser.rb (0.6.0)
      * json (1.8.3)
      * json_pure (1.8.3)
      * jwt (1.5.4)
      * multi_json (1.12.1)
      * multi_xml (0.5.5)
      * multipart-post (2.0.0)
      * oa-core (0.3.2)
      * oa-openid (0.3.2)
      * oauth2 (1.2.0)
      * omniauth (1.3.1)
      * omniauth-heroku (0.2.0)
      * omniauth-oauth2 (1.4.0)
      * rack (1.5.5)
      * rack-openid (1.3.1)
      * rack-protection (1.5.3)
      * rack-test (0.6.3)
      * ruby-openid (2.7.0)
      * ruby-openid-apps-discovery (1.2.0)
      * rufus-scheduler (2.0.24)
      * sass (3.2.19)
      * sinatra (1.4.7)
      * sinatra-contrib (1.4.7)
      * sprockets (2.10.2)
      * stringex (1.5.1)
      * thin (1.6.4)
      * thor (0.19.1)
      * thread_safe (0.3.5)
      * tilt (1.4.1)
      * tzinfo (1.2.2)
      * uuidtools (2.1.5)

I think the first thing to do is make sure that dashing is working on the RPi for you. You can actually use the system on OH2 without the ruby sse client, i.e. in more or less exactly the same way as the OH1 set up where we are posting updates to dashing via a rule in openHAB. To do this, follow the instructions for OH1 install of dashing. When you get to putting the dashboard.rule into the openHAB rules folder, edit the file and:

  1. Remove (or comment out) the line: sendHttpPostRequest(uri, "HTTP.CONTENT_TYPE_JSON", json)

  2. Immediately after the above line, add the following two lines:
    val String commandLine = "curl@@-d@@" + json + "@@" + uri executeCommandLine(commandLine)

  3. Also make sure that the dashboard’s lib/ohapp.rb still has OPENHAB_V2 = true

Dashing should then work in the same way as for OH1 (i.e. you will need to create a gDashboard group and add dashboard items into that group).