This is a working session devoted to Open Sensor Platforms. The purpose of this Task Team is to get a solid knowledge about sensor platforms and share it with the world. OSP is a key element of an urban platform, and serves to make data from any city sensor available to all city applications. Shaped by Barcelona’s open source Sentilo platform, OSP Leaders from Barcelona will be joined by OSP pilot cities from Dubai and more.
Automating Google Workspace (GWS) & more with Apps Script
City Protocol Skynet
1. SENTILO ANDTHE SKYNET
EXPERT SYSTEM
City Protocol -Task Force – Focus Sessions
Advancing Smart-City Infrastructures
OSP-TAFT
2. The city and its Project
• City: Sant Feliu de Llobregat
• Name of the Project: Skynet
• Project Area: Environment.
• Status of the project: Network
Up&Running with expected extensions
7/9/2015OSP - Barcelona City 2
4. Purpose
Implement an EXPERT SYSTEM to automate infrastructure management SmartCity
quickly and flexibly, with a generic tool, reusable in different scenarios.With the following
characteristics:
Generic tool, reusable in different scenarios.
Integrated multi-sensory platform: Sentilo, Fi-ware other.
Portable devices embedded, such as Raspberry-pi, etc, allowing Skynet to be used used as
an integrator of sensors and actuators on the Sentilo’s platform.
Programmable in a functional simple language which is easy to learn, but powerful
enough to implement complex algorithms of artificial intelligence, fuzzy logic, learning, etc.
Programmable remotely through an interface HTTP / REST.
Availability of Web tools, java and mobile to program expert system rules and interact
with him.
7/9/2015 4
12. SKY language: general characteristics
Very simple but powerfull functional language
Based on S-Expressions (homoiconicity: data and code are represented in the
same way) => Rules that generate new rules!
Easy parsing and code generation (Wizards can create rules easily)
Small footprint (can be ported to devices with low resources)
Easy to extent with new built-in functions
Support for user defined functions
User defined functions can be recursive
Multi-threaded
Just 5 basic data types: strings, numbers, booleans, references (symbols), lists
All these data types are persistent
7/9/2015 12
13. SKYNET - Case study.
Improving energy efficiency central building of City Hall
Lighting control of the building depending on the presence and level of brightness.
Control of air conditioners in meeting rooms depending on the programming of the
corporate agenda.
Energy savings around 60%
7/9/201513
14. SKYNET - Initial evaluations
Demonstrated the viability of the tool and its possibilities.
Milestones achieved:
To automate the management of infrastructure SmartCity (with
Sentilo or directly accessing sensors) with a very low development
cost, so just put the effort in creating an expert system rules.
7/9/2015 14