Termostato Netatmo – CasaCasu Build Log

Recentemente ho dovuto anche io cedere e aggiornare qualche pezzo di tecnologia in casa.

Ho comprato un NetAtmo (Termostato gestibile via Wifi). Dopo solo qualche settimana di utilizzo, sono già estrememante soddisfatto del cambio: siamo passati dal dire quando il termostato doveva accendersi per ragionavolmente avere la temperatura desiderata, al dire a che ora vogliamo una certa temperatura, e lasciare a lui il calcolo di quanto prima partire; per non parlare della possibilità di gestirlo via mobile🙂

Avendo ricevuto una discreto interesse da amici e colleghi, posto di seguito alcune foto relative alla mia esperienza di installazione dello stesso, incluso l’adattamento ad una presa italiana.

WP_20150210_005 WP_20150210_007

Il Termostato BTicino precedente, dove mi sono diligentemente fotografato la connessione prima di iniziare qualunque tipo di danno. I cavi da collegare al netatmo sono C e NO; gli altri due li ho isolati.

WP_20150210_009WP_20150210_008

Come si può vedere, il nuovo termostato è più grande della scatola standard

WP_20150214_002 WP_20150214_003

A questo punto serve un minimo di DIY, prima di tutto ho comprato un (come si chiama? da noi si chiama “castelletto” non so il nomer corretto); l’ho ritagliato, perché essendo fatto per essere posizionato sopra la scatola avevo bisogno di ridurre la dimensione e far si che si incastrasse a “filo” del muro all’interno della scatola.

WP_20150214_004 WP_20150214_006 WP_20150214_007

Successivamente ho fatto un paio di buchi con un trapano, per poter montare il retro di netatmo.

WP_20150214_008

WP_20150214_009

Ovviamente al primo giro, mi ero dimenticato di  montare il lamierino che è presente all’interno del kit, per poter coprire il contorno del termostato, e voilà!

WP_20150214_010 WP_20150214_011

Infine, come alternativa, segnalo che si sarebbero potuti usare dei Fisher appositi, che permettono questo tipo di connessione. Nel caso del mio muro, ero nel dubbio ci fossero vicino dei tubi, e volevo evitare qualunque tipo di problema

WP_20150215_001

Xbox One e VodafoneStation2

XboxLogoHo appena completato il passaggio verso Vodafone della mia linea telefonica di casa.
Tutta la procedura è andata a buon fine senza problemi tranne la connessione a Xbox Live.

Il problema risiede su una procedura automatica che la Vodafone Station fa partire ai dispositivi connessi tramite cavo ethernet.
Infatti mi ero accorto di questa modalità durante la prima configurazione, dove una volta collegato il computer via cavo, il browser si era aperto su una pagina di configurazione della VS.

Per risolvere il problema sulla Xbox, è sufficiente aprire Internet Explorer dalla console, e navigare verso un sito qualsiasi. Il browser della Xbox viene rediretto verso la procedura di configurazione della VodafoneStation così come avviene per il pc. E’ necessario annullare la procedura e uscire dal wizard di configurazione.

Una volta effettuato questo piccolo passagio, xbox riesce a collegarsi correttamente al servizio xbox live.

Per maggiori info, segnalo questo thread nel forum Vodafone

http://lab.vodafone.it/forum/viewtopic.php?f=25&t=42125&start=15&sid=762bc803751c9a2d2d8e815ec6dfbf1b

HTH,
Alberto

ZuCopter – FullAuto Test #1 including copter flyaway – recovered :)

I’d like to share my experience with my copter (aka ZuCopter) during my first full test using AUTO mode. My quad is ArduCopter, 3DRobotics Quad-C frame using APM 2.5 Firmware 2.9.1b

The plan was to go around the house, full automated, including takeoff and landing. This was executed quite smoothly at the first run J, Then I said… let’s try that again; I relaunched the same mission without turning the copter off or resetting, and…. something didn’t go so well: the quad decided to go full throttle without following strictly the programmed waypoints. I was good to have RTL mode programmed on my radio, so I was able to recover the flight back to manual mode.

You can see the recorded video from the GoPro installed on the quad.

 

 

This was the original plan:

 

The first run was quite well done I would say. Only thing I noticed is that arducopter do not strictly reach the altitude set at the waypoint. When it reaches the waypoint, it doesn’t matter if the altitude is lower, in contibue both increasing altitude and continue to the next waypoint.
From the data extraced from the LOG, you can see the waypoint altitude was reached only after waypoint 3.
Blu data are altitude requested by WayPoint Command, and the green is the barometric measurement.

This is the first run importing the .gpx information from the arducopter datalogger to Google earth.

As for the second run, I executed it using the same mission, without changing the mission nor switching off the quad. From the video you can see the strange behaviour:

  • Copter not heading straight (camera, which is the head of the copter, was instead on side)
  • Throttle-out was 100% most of the time during auto.
  • Waypoints were passed very large

Then I prefere to engage RTL to bring the copter back home.

This was the first run from another angle:

And this is the second run where you can see the different copter modes I set. The yellow below was the original AUTO mode, blue STABILIZE, red RTL

 

As you can see from the datalogger, most of the yellow line (throttle-out) during the first part of the flight is set flat to 1000. So full motors.

The image below was merged to the mission mode sequence: yellow area is the lower graph is the AUTO MODE (graph below is gathered by importing to excel the logs and trying to align them as much as possibile to verify what happened in what mode; it is not perfect).

The last thing I do not understand, is:

  • why during the RTL the altitude decreased from 50mt to 10mt and I had to switch manual again to bring it back to a correct altitude?

I am attaching my log to this just in case somebody have any idea.

 

Overall I had quite fan, and was pretty happy I did program the RTL mode easy to be selected from my Radio switch.

–Alberto

 

2013-04-26 10-50 4-log.zip

2013-04-26 10-50 4_Analysis.xlsx

ZuCopter – My Arduino UAV

I had this post there since ages, and I thought to just share it as some friends were asking me for one of my (somehow hidden… but not really) passion about this Gadget.
Since several months, I am a proud owner of an arduino based quadricopter. I started following this topic since some years, and got more and more interesting when Chris Anderson (editor in chief of Wired US), founded his social network DIYDRONES http://www.diydrones.com/

I started chasing my wife to be able to spare, month after month, some budget for this project (every family has its own board of director, where the wife controls 9 out of 10 seats J). But at the end, I was able to get it approved and funded!

Here are some picture of the work and some video result so far.
(some more will come later with the nice season)

 

The Arducopter Kit

Assempling the Frame

Assembling and soldering the power distribution

 

Soldered the main flight control board and testing all the sensors (magnetometer, barometer, Compass, 6DOF, GPS, ….) with the telemetry on the pc.
(recognize the bing maps embedded on the mission planner sw, where you can program waypoint for the gps)

 

Assembly and testing with the TX

 

And here is the result:

 

Finally I also added a Gimbal Camera Mount, to stabilize the camera orientation compensating on the quadricopter pan and tilt

 

 

 

Some Recorded Videos

 

 

SharePoint 2010 Organization Profiles

As I reported on one of my first posts about SP2010, one nice thing that has been implemented within the new User Profile Service Application, is the presence of the Organization Profiles.

I was browsing for some info about it (since today I was discussing on the usage of this component with Marco Rizzi); there is not yet much information around this topic and I came across this post by Peter Gerritsen which reports some nice information.

The whole idea is to have a new type of Profile for “Organizational” needs: Using the Organization Profile (and also beeing able to extend it using Using Sub-types) this feature can be used in order to create several type of organizational aggregations, depending on your company needs. In example: Divisions, Departments or even Legal-Entities (in case of a multi-company group).

image

 

Main issue when you were implementing this using Moss2007 is that all your hierarchy logic was build around the “Manager” property of users, but: what happen if your manager change job, and your office or department do not have a new manager assigned in time? Or what if a manger have two different role inside two organizations? You’ll end up having a broken/unclear hierarchy.

This component try to address this need.

 

image

Every organization can have defined who is the “leader” of this organization and who are the members.

Members can be included also by automatically include direct reports of the leader so based on the company hierarchy.

The members could also be associated by ActiveDirectory groups.

image

 

The nice nice thing about it is… that you will need to develop all the UI and end-user functionality by yourself🙂

As far as I found so far, currently there is no any impact on the User Profile page and this information, although present, won’t be displayed. Peter in his post refer that MS did not make it to complete this feature since it has many different interesting approaches and evolution path.

As always, what we can do is to leverage on this infrastructure to build our logic if we need to include this type of information. The Object Model exposes all information from the class Microsoft.Office.Server.UserProfiles.OrganizationProfile 

As far as I analyzed it. It is currently not that stable yet: some components do not work 100% correctly, but we know it has not been release yet (so there is always time for some bugfixing)

HTH

Alberto

Live Online SharePoint Saturday EMEA

image As far as I know, this will be the first SharePoint Saturday held in EMEA Region.
This formula of events held on Saturday, is pretty famous in the US, but not as much in Europe. We’ll see how it goes.
This version is an online one. It wouldn’t have been possible to organize an in presence event like it is for the SPSatrurday in the US.

Though, It would be nice to have one in italy too. Claudio Brotto, one of the italian mvp, is already a speker of the current emea chapter.

Follow the buzz on twitter: #SPSEMEA

I’ll be joining online sometime on Jannuary 23rd, 2010 (there’s a conflict with the italian UGIAL.NET 5th conference, which for the second time is on my own company’s offices).

We’ll see how it goes.

Graffiti CMS – Remove Google Analytics tracking for selected users

As I posted on this “warm-up” post I am running my personal blog using Telligent Graffiti CMS, main reason: I like telligent’s products and approach, and I wanted to test this product of them on my shoulder.

I am very happy about it, set it ip and customezed it very quickly; the bad thing is that its future is not clear yet (is it sometime it is not updated). Anyhow, for the time been, I keep using it and sometime I need to implement some changes.

 

This time I wanted to stop Google analytics, which I implemented on the site, to track my own site access (or generally speaking, any access from an administrator)

To accomplish this, I found this article by google “How do I exclude my internal traffic from reports?” , which reports how to set-up a custom filter to exclude traffic coming with special conditions.

Among this, there is the option to set a variable, using a JavaScript call

pageTracker._setVar(‘siteadmin_access’);

This variable is set within the Analytics cookie, which last for some time (but since cookie can be reset, I wanted to be set for all admin sessions)

Having understood that, I then needed to define how, within Graffiti CMS, to execute this javascript call: it needs to be executed only from the users which I wanted to exclude.
I then went through the “Graffiti CMS” official documentation (read: I went through someone else code to find out stuff similar to mine🙂

The result is the following: to modify the layout page of the theme you are using (in my case SleepyBlue) which can be found here: Home > files >themes > SleepyBlue > layout.view

On the bottom of the page, befor the </html> closure, I added the following code:

#if ($macros.IsNotNull($user))
#if($macros.CanViewControlPanel($user))
<script type="text/javascript">pageTracker._setVar(‘siteadmin_access’);</script>
#end  
#end

Note: Since this call needs the pageTracker object to be instantiated, it require the Analytics call to he executed before.
Within Graffitics CMS, there is a specific call to include a generic analytics plug in, which is:

$!data.Site.WebStatistics

This call, in my customized-theme case, is called within the <head> section of the page.
(if you’re wondering where the Goolge js need to be defined in graffiti: go to the “Control Panel > Site Options > Settings > Web Statistics”)

 

 

Now all I needed to to, is from the Analytics Settings to create a filter:

From the Analytics Profile, add a new Filter.

 

image

 

Using IE8 Developer Toolbar, I verified that the cookie was corretly setup

image

 

As you can see, the cookie expires is in two year🙂

HTH,
Alberto

Speaking at MS SharePoint & Office Conference – Milan March 2010

Microsoft SharePoint & Office Conference 2010This year ended with a good news: I will be speaking at the #SPOC2010 Microsoft SharePoint & Office Conference, scheduled for 9-11 March 2010.
It is a real pleasure to be there among the twenty speakers of the conference.

I will be presenting a session dedicated to the new social features, which are pervasive within many of the new functionality of the next version of SharePoint; my session’s mate will be Marco Rizzi with whom I am sure we will bring a lot of knowledge on this.
 

Nowadays you don’t develop “social applications” in the enterprise just because it is fancy or it is fun (even though it is more fun than developing standard applications🙂 ). Most of the application that are currently been developed, or that are already in use, can leverage social functionality to connect people to people, colleague to colleague or employee to partners, so that the interaction between people is more effective and productive, and produce more relevant shared information.

More details to come🙂

This is the official site: http://www.sharepointconference.it/

See you there!

Letterina a Babbo Natale – Riccardo

Lettera scritta da Riccardo (5 anni) a Babbo Natale.

 

Caro Babbo Natale,

Come stai? Stai bene o stai male?

Sarai tanto impegnato per preparare tutti i regali da dare a tutti i bambini, se non arrivi prima da me… va beh, non importa aspetterò nel mio letto.

Io mi chiamo Riccardo Casu, dall’ultima volta che ti ho scritto (lo scorso anno) sono stato abbastanza bravo, ogni tanto faccio il monellino, ma scusa… è perchè mi dimentico sempre di fare il bravo!!

A questo punto ti dico i miei regali (Con relativa foto per non sbagliare)

  1. Bacugan
  2. Mario Giochi invernali – WII
  3. Action Figure deluxe con veicolo superaccessoriato di materia grigia e 2×2
  4. Laserset di Ben10
  5. Pulmino di Ben10
  6. Navicella trasformabile di pungilione
  7. UP – WII

Lo so che sono tante cose, per me tutte vanno bene… per te, decidi te.

Per favore Babbo Natale, le porti orecchini e collana alla mamma? E al papà no!

Per favore Babbo Natale, al papà gli porti una statua?

Per Andrea Pannolini!

Ricordati della mia Nonna e dei Nonni, x loro decidi quello che vuoi.

Ti allego un mio disegno

 

Tanti Baci,
Riccardo

 

Pg1

letterinababbonatale 001

 

Pg2

letterinababbonatale 002

 

 

[NDR: ma che sarà mai questa statua… mah!]

Alberto's site about personal stuff and all of the things I love