Dear all,
has anybody an idea how to develop a interface to [ui!] ( https://ui.city/de/ )
I want to transfer some temperature and humidity-data there…
Thank you!
Pimatic Interface to [ui!] (urban institute)
Dear all,
has anybody an idea how to develop a interface to [ui!] ( https://ui.city/de/ )
I want to transfer some temperature and humidity-data there…
Thank you!
@HarrySteff said in Pimatic Interface to [ui!] (urban institute):
has anybody an idea how to develop a interface to [ui!]
Do you have some background information on [ui!]? I did not find any information on integration for developers, but I may have overlooked something.
From what can be found on the web site it is a commercial company offering consulting around some solution building blocks for smart cities. Things like “[ui!] environment” do not appear to be general purpose services, but building blocks which will be tailored to the needs of a customer, i.e. a city authorities, generally. “Mithilfe von Umweltsensoren können Sie schnell verschiedene Umweltdaten erfassen und Sie über das [ui!] COCKPIT Ihren Bürgerinnen und Bürger in unterschiedlichen Formen bereitstellen” [excerpt from the [ui!] ENVIRONMENT solution description].
EDIT: “[ui!] UrbanPulse” is an open RT IOT-platform based on Azure, which seems to the infrastructure to aggregate and provide sensor data for the other solution building blocks. Possibly, that’s the integration point and it may be generally possible to implement connectors for different purposes - given that APIs or service descriptions are provided.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
Hey @mwittig sounds good.
In the moment i will try to get mor detailed informations about how i cann connect there, and how i can transmit data there.
Our City has subscribed there and our major wants to collect data there, for experimental cases i will try to send data there.
If i have more detailed infos i will come back here, hoping that this is okay…
Thank you again so far!
@HarrySteff said in Pimatic Interface to [ui!] (urban institute):
Our City has subscribed there and our major wants to collect data there, for experimental cases i will try to send data there.
OK, but in this case it should be possible to get more information through the person in charge, i.e., a manager in the municipal IT department. The challenging bit may be to find the right person (if you don’t know already). Maybe you can simply ask for the information at the majors office. Most city majors offer consultation (Sprechstunden).
If i have more detailed infos i will come back here, hoping that this is okay…
Sure. No problem. If you have general information about your city using [ui!], e.g. a press release, please add a link. Please also check if your city is listed among the few case studies on the web site - https://ui.city/de/case-studies/references.html
Anyhow, please follow up on this, occasionally. The linkage between smart home and smart city is an interesting topic and offers a huge potential.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
Yes i have som more informations, and yes we were at majors office today, and iam already in contact with IT department. No response from them until now, but i will get it
Here the newest Press-Info:
https://ui.city/de/newsblog/16-news-de/163-kreisstadt-bad-hersfeld-und-ui-the-urban-institute-unterzeichen-vertrag-auf-der-cebit.html
and
https://www.hersfelder-zeitung.de/bad-hersfeld/smart-city-hersfeld-stadt-zukunft-6567514.html
and
https://ui.city/de/newsblog/16-news-de/157-bad-hersfeld-und-ui-bereiten-sich-auf-die-zukunft-vor.html
Yes iam so interested in this theme so i will hope to get some synergy
Great! Thanks!
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
Hello, today i got a call from some employee of Company [ui!] From Berlin, he told me, the easiest way to transmit data is a json object… maybe it would be possible to develop a Plugin with which we can choose Values which we want to send? Now I’am waiting for more informations from him…
Hello @mwittig the following informations i got until now.
The structure they will need to process the data is the following:
{
“temperature”: 12.0,
“humidity”: 94.0,
“lat”: 0.0,
“lng”: 0.0,
“deviceId”: “myDevice”, (von Ihnen vergebene Device ID)
“timestamp”: “2017-04-25T08:28:49+00:00” (ISO 8601 Timestamp)
}
Can you help me to send data from my sensors to them?
Geo data can be hard coded for beginning, timestamp is important…
Thank you so much in advance!
Stefan
Should be no problem with the shell execute plugin and curl
https://stackoverflow.com/questions/7172784/how-to-post-json-data-with-curl-from-terminal-commandline-to-test-spring-rest
@HarrySteff said in Pimatic Interface to [ui!] (urban institute):
Can you help me to send data from my sensors to them?
Geo data can be hard coded for beginning, timestamp is important…
Stefan, sure! I am happy to help, I’ll contact you via chat on Friday.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
iam looking forward…
Thank you
So now i get final field definitions from [UI!]
"Zur testweisen Übermittlung der Umweltdaten schlagen wir vor, die Messdaten JSON-kodiert über eine einfache HTTP(S)-Schnittstelle zu übermitteln.
Folgendes Format wäre dafür geeignet:
{
"timestamp": date, // Zeitstempel der Messung
"measurement": double, // Messwert
"type": string, // Typ des Messwerts
"sensorId": integer, // Numerische ID des Sensors
"lat": double, // Längen- / Breitengrad
"lng": double // des Sensors
}
Der Wert im Feld „type“ kann dann entweder den Wert „temperature“ oder „humidity“ annehmen. Später lässt sich dies dann um weitere Sensordaten erweitern.
Die Position des Sensors („lat“ und „lng“) kann zu Testzwecken auch auf 0 gesetzt werden.
Is it possible that you can halp me with this @mwittig ?
Thank you so much!
@HarrySteff said in Pimatic Interface to [ui!] (urban institute):
Is it possible that you can halp me with this @mwittig ?
Sure, will do. To keep it simple, I’ll draft a shell script in the first iteration which pulls the measurement values from pimatic to POST them to the REST endpoint using the curl tool. For the first tests I will use a mockup service. I’ll use Swagger for that.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law