Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [iot-wg] Struggling with JavaOne Demo

Hm, I see...

So I can use these values from MQTT, I would just make a level alarm,
130 °C would be too much for a greenhouse ;)

Ok, so I can use the "javaonedemo/eclipsescada-greenhouse/" and not mix
up with others.

Thanks for helping!

Jens

On 07/22/2014 01:35 PM, Benjamin Cabé wrote:
> These are « actual » values from the prototype « actual » greenhouse. The temperature sensor reading over i2c seems to have some hiccups that I need to look into.
>
> From now on I will use another topic than javaonedemo/eclipse-greenhouse for sending the values from my test greenhouse, and I encourage anyone interested in testing the demo against a greenhouse to use the simulator. FWIW feel free to do your tests in e.g. javaonedemo/eclipsescada-greenhouse/# namespace to make sure you won’t get polluted by other people. Makes sense?
>
> Benjamin.
>
>
> Le 22 juil. 2014 à 13:24, Jens Reimann <jens.reimann@xxxxxxxxxxxxxxx> a écrit :
>
>> Now after some time of re-connecting it finally established the
>> connection and flooded me with a bunch of values from the topic you named.
>>
>> However this cannot be just temperatures, since I got:
>>
>> 13:23:09.784 [MQTT Call: paho-945529896189866] DEBUG
>> o.e.s.b.e.mqtt.input.MqttInput - Got message - topic:
>> javaonedemo/eclipse-greenhouse/sensors/temperature, message: 133.625
>> 13:23:09.784 [MQTT Call: paho-945529896189866] DEBUG
>> o.e.s.b.e.mqtt.input.MqttInput - Got message - topic:
>> javaonedemo/eclipse-greenhouse/sensors/temperature, message: 21.3125
>> 13:23:09.784 [MQTT Call: paho-945529896189866] DEBUG
>> o.e.s.b.e.mqtt.input.MqttInput - Got message - topic:
>> javaonedemo/eclipse-greenhouse/sensors/temperature, message: 136.0
>>
>> Jens
>>
>> On 07/22/2014 01:23 PM, Jens Reimann wrote:
>>> Hello Benjamin,
>>>
>>> thanks for helping out.
>>>
>>> At the moment I only get "connection refused" from the Broker.
>>>
>>> So maybe I start the other way round and then provide our values to the
>>> MQTT broker instead. Where could I publish those values to?
>>>
>>> Jens
>>>
>>> On 07/22/2014 12:51 PM, Benjamin Cabé wrote:
>>>> Hi Jens,
>>>>
>>>> Two things: 
>>>> - the actual greenhouse is still being developed so there might not be data coming in all the time on this topic. You should use the simulator [1] and create a new simulated greenhouse named « eclipse-greenhouse » if you want to easily send/receive fake data and commands.
>>>> - the latest temperature sent by the greenhouse should however always be available on javaonedemo/eclipse-greenhouse/sensors/temperature since it is supposed to be published as a retained message. It seems there is a bug in Mosquitto somewhere since from time to time the retained message just vanishes. I will ask Roger for help again.
>>>>
>>>> Hope this helps?
>>>>
>>>> Benjamin.
>>>>
>>>>
>>>> [1] http://198.27.66.207:8081/app/#/greenhouses
>>>>
>>>>
>>>>
>>>> Le 22 juil. 2014 à 12:43, Jens Reimann <jens.reimann@xxxxxxxxxxxxxxx> a écrit :
>>>>
>>>>> Hi,
>>>>>
>>>>> I just tried to hook up to the data of the JavaOne Demo [1] and consume
>>>>> the temperature value using Eclipse SCADA.
>>>>>
>>>>> So what I came up with was using Paho and the async client:
>>>>>
>>>>> connect(tcp://iot.eclipse.org:1883) -> on success -> subscribe
>>>>> (javaone2014/eclipse-greenhouse/sensors/temperature)
>>>>> sleep(10 seconds)
>>>>> disconnect() -> wait
>>>>> exit
>>>>>
>>>>> While everything works well (connect and disconnect), the subscribe also
>>>>> seems to succeed, but I never receive any data.
>>>>>
>>>>> Maybe someone can help me a little bit.
>>>>>
>>>>> Jens
>>>>>
>>>>> [1] https://wiki.eclipse.org/IoT/JavaOne2014_Demo
>>>>>
>>>>> -- 
>>>>> IBH SYSTEMS GmbH
>>>>> D-85235 Pfaffenhofen an der Glonn
>>>>> Läutenring 43
>>>>> Geschäftsführer / CEO: Dr. Thomas Heitzig
>>>>>
>>>>> Amtsgericht München
>>>>> Handelsregister Nummer  HRB 197959
>>>>> USt ID: DE267945175
>>>>>
>>>>> Office Munich
>>>>> D 80992 München
>>>>> Agnes-Pockels-Bogen 1
>>>>> T +49 89 18 9 17 49 0
>>>>>
>>>>> The information transmitted is intended only for the person or entity
>>>>> to which it is addressed and may contain confidential and/or pivileged
>>>>> material. Any review, retransmission, dissemination or other use of,
>>>>> or taking of any action in reliance upon, this information by persons
>>>>> or entities other than the intended recipient is prohibited. If you
>>>>> received this in error, please contact the sender and delete the
>>>>> material from any computer.
>>>>>
>>>>> _______________________________________________
>>>>> iot-wg mailing list
>>>>> iot-wg@xxxxxxxxxxx
>>>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>>>> https://dev.eclipse.org/mailman/listinfo/iot-wg
>>>>>
>>>> _______________________________________________
>>>> iot-wg mailing list
>>>> iot-wg@xxxxxxxxxxx
>>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/iot-wg
>>
>> -- 
>> IBH SYSTEMS GmbH
>> D-85235 Pfaffenhofen an der Glonn
>> Läutenring 43
>> Geschäftsführer / CEO: Dr. Thomas Heitzig
>>
>> Amtsgericht München
>> Handelsregister Nummer  HRB 197959
>> USt ID: DE267945175
>>
>> Office Munich
>> D 80992 München
>> Agnes-Pockels-Bogen 1
>> T +49 89 18 9 17 49 0
>>
>> The information transmitted is intended only for the person or entity
>> to which it is addressed and may contain confidential and/or pivileged
>> material. Any review, retransmission, dissemination or other use of,
>> or taking of any action in reliance upon, this information by persons
>> or entities other than the intended recipient is prohibited. If you
>> received this in error, please contact the sender and delete the
>> material from any computer.
>>
>> _______________________________________________
>> iot-wg mailing list
>> iot-wg@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/iot-wg
>>
> _______________________________________________
> iot-wg mailing list
> iot-wg@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/iot-wg


-- 
IBH SYSTEMS GmbH
D-85235 Pfaffenhofen an der Glonn
Läutenring 43
Geschäftsführer / CEO: Dr. Thomas Heitzig

Amtsgericht München
Handelsregister Nummer  HRB 197959
USt ID: DE267945175

Office Munich
D 80992 München
Agnes-Pockels-Bogen 1
T +49 89 18 9 17 49 0

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or pivileged
material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.



Back to the top